svn merge -c 1363435 FIXES: HADOOP-8551. fs -mkdir creates parent directories without the -p option (Daryn Sharp and John George via bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1363437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb87050e00
commit
48a86fbe8f
|
@ -654,6 +654,9 @@ Release 0.23.3 - UNRELEASED
|
||||||
HADOOP-8599. Non empty response from FileSystem.getFileBlockLocations when
|
HADOOP-8599. Non empty response from FileSystem.getFileBlockLocations when
|
||||||
asking for data beyond the end of file. (Andrey Klochkov via todd)
|
asking for data beyond the end of file. (Andrey Klochkov via todd)
|
||||||
|
|
||||||
|
HADOOP-8551. fs -mkdir creates parent directories without the -p option
|
||||||
|
(Daryn Sharp and John George via bobby)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
|
|
|
@ -26,6 +26,7 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
import org.apache.hadoop.fs.shell.PathExceptions.PathExistsException;
|
import org.apache.hadoop.fs.shell.PathExceptions.PathExistsException;
|
||||||
import org.apache.hadoop.fs.shell.PathExceptions.PathIOException;
|
import org.apache.hadoop.fs.shell.PathExceptions.PathIOException;
|
||||||
import org.apache.hadoop.fs.shell.PathExceptions.PathIsNotDirectoryException;
|
import org.apache.hadoop.fs.shell.PathExceptions.PathIsNotDirectoryException;
|
||||||
|
import org.apache.hadoop.fs.shell.PathExceptions.PathNotFoundException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the given dir
|
* Create the given dir
|
||||||
|
@ -66,7 +67,9 @@ class Mkdir extends FsCommand {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void processNonexistentPath(PathData item) throws IOException {
|
protected void processNonexistentPath(PathData item) throws IOException {
|
||||||
// TODO: should use createParents to control intermediate dir creation
|
if (!item.parentExists() && !createParents) {
|
||||||
|
throw new PathNotFoundException(item.toString());
|
||||||
|
}
|
||||||
if (!item.fs.mkdirs(item.path)) {
|
if (!item.fs.mkdirs(item.path)) {
|
||||||
throw new PathIOException(item.toString());
|
throw new PathIOException(item.toString());
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: directory using relative path</description>
|
<description>ls: directory using relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -ls </command>
|
<command>-fs NAMENODE -ls </command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -150,10 +150,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: directory using globbing</description>
|
<description>ls: directory using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -mkdir dir4</command>
|
<command>-fs NAMENODE -mkdir -p dir4</command>
|
||||||
<command>-fs NAMENODE -ls </command>
|
<command>-fs NAMENODE -ls </command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -308,7 +308,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: Non-URI input dir at Namenode's path</description>
|
<description>ls: Non-URI input dir at Namenode's path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir NAMENODE/user/dir1</command>
|
<command>-fs NAMENODE -mkdir -p NAMENODE/user/dir1</command>
|
||||||
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -329,7 +329,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: dir at hdfs:// path</description>
|
<description>ls: dir at hdfs:// path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir hdfs:///user/dir1</command>
|
<command>-fs NAMENODE -mkdir -p hdfs:///user/dir1</command>
|
||||||
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -350,9 +350,9 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: Non-URI input dir at Namenode's path using globing</description>
|
<description>ls: Non-URI input dir at Namenode's path using globing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir NAMENODE/user/dir1</command>
|
<command>-fs NAMENODE -mkdir -p NAMENODE/user/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir NAMENODE/user/dir2</command>
|
<command>-fs NAMENODE -mkdir -p NAMENODE/user/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir NAMENODE/user/dir3</command>
|
<command>-fs NAMENODE -mkdir -p NAMENODE/user/dir3</command>
|
||||||
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -381,9 +381,9 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: dir at hdfs:// path using globing</description>
|
<description>ls: dir at hdfs:// path using globing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir hdfs:///user/dir1</command>
|
<command>-fs NAMENODE -mkdir -p hdfs:///user/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir hdfs:///user/dir2</command>
|
<command>-fs NAMENODE -mkdir -p hdfs:///user/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir hdfs:///user/dir3</command>
|
<command>-fs NAMENODE -mkdir -p hdfs:///user/dir3</command>
|
||||||
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
<command>-fs NAMENODE -ls hdfs:///user/</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -533,13 +533,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: files/directories using relative path</description>
|
<description>ls: files/directories using relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir2</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -621,13 +621,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>ls: files/directories using globbing</description>
|
<description>ls: files/directories using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir2</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -1045,7 +1045,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>du: directory using relative path</description>
|
<description>du: directory using relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
||||||
<command>-fs NAMENODE -du dir0</command>
|
<command>-fs NAMENODE -du dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -1352,13 +1352,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>dus: directories/files using relative path</description>
|
<description>dus: directories/files using relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir2/dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir2/dir2</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/dir1/data15bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/dir1/data15bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/dir1/data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/dir1/data30bytes</command>
|
||||||
|
@ -3275,7 +3275,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>rm: removing a directory (relative path) </description>
|
<description>rm: removing a directory (relative path) </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE mkdir dir0</command>
|
<command>-fs NAMENODE mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -rm dir0</command>
|
<command>-fs NAMENODE -rm dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -3606,7 +3606,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>rm: removing a directory (relative path) </description>
|
<description>rm: removing a directory (relative path) </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -rm -r dir0</command>
|
<command>-fs NAMENODE -rm -r dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -3655,10 +3655,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>rm: removing directories by globbing (relative path) </description>
|
<description>rm: removing directories by globbing (relative path) </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -rm -r dir*</command>
|
<command>-fs NAMENODE -rm -r dir*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -3986,7 +3986,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>put: putting file into a directory(absolute path)</description>
|
<description>put: putting file into a directory(absolute path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir /dir0/dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p /dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes /dir0/dir1/data</command> -->
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes /dir0/dir1/data</command> -->
|
||||||
<command>-fs NAMENODE -du /dir0/dir1/data</command>
|
<command>-fs NAMENODE -du /dir0/dir1/data</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4004,7 +4004,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>put: putting file into a directory(relative path)</description>
|
<description>put: putting file into a directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/dir1/data</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -du dir0/dir1/data</command>
|
<command>-fs NAMENODE -du dir0/dir1/data</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4044,7 +4044,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>put: putting many files into an existing directory(relative path)</description>
|
<description>put: putting many files into an existing directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes CLITEST_DATA/data30bytes dir0</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes CLITEST_DATA/data30bytes dir0</command>
|
||||||
<command>-fs NAMENODE -du dir0</command>
|
<command>-fs NAMENODE -du dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4206,7 +4206,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>put: putting file into a directory in hdfs:// path </description>
|
<description>put: putting file into a directory in hdfs:// path </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir /dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p /dir1/data</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes hdfs:///dir1/data</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes hdfs:///dir1/data</command>
|
||||||
<command>-fs NAMENODE -du hdfs:///dir1/data/</command>
|
<command>-fs NAMENODE -du hdfs:///dir1/data/</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4329,7 +4329,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>put: putting file into a directory in Namenode's path </description>
|
<description>put: putting file into a directory in Namenode's path </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir /dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p /dir1/data</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes NAMENODE/dir1/data</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes NAMENODE/dir1/data</command>
|
||||||
<command>-fs NAMENODE -du NAMENODE/dir1/data</command>
|
<command>-fs NAMENODE -du NAMENODE/dir1/data</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4471,7 +4471,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>copyFromLocal: copying file into a directory(absolute path)</description>
|
<description>copyFromLocal: copying file into a directory(absolute path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir /dir0/dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p /dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes /dir0/dir1/data</command>
|
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes /dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -du /dir0/dir1/data/*</command>
|
<command>-fs NAMENODE -du /dir0/dir1/data/*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4489,7 +4489,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>copyFromLocal: copying file into a directory(relative path)</description>
|
<description>copyFromLocal: copying file into a directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1/data</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes dir0/dir1/data</command>
|
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes dir0/dir1/data</command>
|
||||||
<command>-fs NAMENODE -du dir0/dir1/data/*</command>
|
<command>-fs NAMENODE -du dir0/dir1/data/*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -4529,7 +4529,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>copyFromLocal: copying many files into an existing directory(relative path)</description>
|
<description>copyFromLocal: copying many files into an existing directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes CLITEST_DATA/data30bytes dir0</command>
|
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes CLITEST_DATA/data30bytes dir0</command>
|
||||||
<command>-fs NAMENODE -du dir0</command>
|
<command>-fs NAMENODE -du dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
|
@ -5051,7 +5051,7 @@
|
||||||
<test> <!-- TESTED-->
|
<test> <!-- TESTED-->
|
||||||
<description>cat: contents of files(relative path) using globbing</description>
|
<description>cat: contents of files(relative path) using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/data30bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes dir0/data60bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes dir0/data60bytes</command>
|
||||||
|
@ -5093,7 +5093,7 @@
|
||||||
<test> <!-- TESTED-->
|
<test> <!-- TESTED-->
|
||||||
<description>cat: contents of files(relative path) without globbing</description>
|
<description>cat: contents of files(relative path) without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes dir0/data15bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes dir0/data30bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes dir0/data60bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes dir0/data60bytes</command>
|
||||||
|
@ -5162,7 +5162,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>cat: contents of directory(relative path)</description>
|
<description>cat: contents of directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -cat dir1</command>
|
<command>-fs NAMENODE -cat dir1</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -5448,7 +5448,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>mkdir: creating directory (relative path) </description>
|
<description>mkdir: creating directory (relative path) </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0 </command>
|
<command>-fs NAMENODE -mkdir -p dir0 </command>
|
||||||
<command>-fs NAMENODE -du -s dir0</command>
|
<command>-fs NAMENODE -du -s dir0</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -5497,10 +5497,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>mkdir: creating many directories (relative path) </description>
|
<description>mkdir: creating many directories (relative path) </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0 </command>
|
<command>-fs NAMENODE -mkdir -p dir0 </command>
|
||||||
<command>-fs NAMENODE -mkdir dir1 </command>
|
<command>-fs NAMENODE -mkdir -p dir1 </command>
|
||||||
<command>-fs NAMENODE -mkdir dir2 </command>
|
<command>-fs NAMENODE -mkdir -p dir2 </command>
|
||||||
<command>-fs NAMENODE -mkdir dir3 </command>
|
<command>-fs NAMENODE -mkdir -p dir3 </command>
|
||||||
<command>-fs NAMENODE -du -s dir*</command>
|
<command>-fs NAMENODE -du -s dir*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -5547,7 +5547,7 @@
|
||||||
<description>mkdir: creating a directory with the name of an already existing file</description>
|
<description>mkdir: creating a directory with the name of an already existing file</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes data15bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes data15bytes</command>
|
||||||
<command>-fs NAMENODE -mkdir data15bytes</command>
|
<command>-fs NAMENODE -mkdir -p data15bytes</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
<command>-fs NAMENODE -rm -r data15bytes</command>
|
<command>-fs NAMENODE -rm -r data15bytes</command>
|
||||||
|
@ -5721,10 +5721,27 @@
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>mkdir: Test recreate of existing directory fails</description>
|
<description>mkdir: Test create of directory with no parent and no -p fails</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -rm -r -f dir0</command>
|
<command>-fs NAMENODE -rm -r -f dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
||||||
|
</test-commands>
|
||||||
|
<cleanup-commands>
|
||||||
|
<command>-fs NAMENODE -rm -r dir0</command>
|
||||||
|
</cleanup-commands>
|
||||||
|
<comparators>
|
||||||
|
<comparator>
|
||||||
|
<type>RegexpComparator</type>
|
||||||
|
<expected-output>mkdir: `dir0/dir1': No such file or directory</expected-output>
|
||||||
|
</comparator>
|
||||||
|
</comparators>
|
||||||
|
</test>
|
||||||
|
|
||||||
|
<test> <!-- TESTED -->
|
||||||
|
<description>mkdir: Test recreate of existing directory fails</description>
|
||||||
|
<test-commands>
|
||||||
|
<command>-fs NAMENODE -rm -r -f dir0</command>
|
||||||
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -5742,7 +5759,7 @@
|
||||||
<description>mkdir: Test recreate of existing directory with -p succeeds</description>
|
<description>mkdir: Test recreate of existing directory with -p succeeds</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -rm -r -f dir0</command>
|
<command>-fs NAMENODE -rm -r -f dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6339,7 +6356,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>stat: statistics about directory(relative path)</description>
|
<description>stat: statistics about directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dirtest</command>
|
<command>-fs NAMENODE -mkdir -p dirtest</command>
|
||||||
<command>-fs NAMENODE -stat "%n-%b-%o" dirtest</command>
|
<command>-fs NAMENODE -stat "%n-%b-%o" dirtest</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6399,7 +6416,7 @@
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes data30bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes data60bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes data60bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes data120bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes data120bytes</command>
|
||||||
<command>-fs NAMENODE -mkdir datadir</command>
|
<command>-fs NAMENODE -mkdir -p datadir</command>
|
||||||
<command>-fs NAMENODE -stat "%n-%b" data*</command>
|
<command>-fs NAMENODE -stat "%n-%b" data*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6501,7 +6518,7 @@
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes hdfs:///dir0/data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes hdfs:///dir0/data30bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes hdfs:///dir0/data60bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes hdfs:///dir0/data60bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes hdfs:///dir0/data120bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes hdfs:///dir0/data120bytes</command>
|
||||||
<command>-fs NAMENODE -mkdir hdfs:///dir0/datadir</command>
|
<command>-fs NAMENODE -mkdir -p hdfs:///dir0/datadir</command>
|
||||||
<command>-fs NAMENODE -stat "%n-%b" hdfs:///dir0/data*</command>
|
<command>-fs NAMENODE -stat "%n-%b" hdfs:///dir0/data*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6588,7 +6605,7 @@
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes NAMENODE/dir0/data30bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes NAMENODE/dir0/data30bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes NAMENODE/dir0/data60bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes NAMENODE/dir0/data60bytes</command>
|
||||||
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes NAMENODE/dir0/data120bytes</command>
|
<command>-fs NAMENODE -put CLITEST_DATA/data120bytes NAMENODE/dir0/data120bytes</command>
|
||||||
<command>-fs NAMENODE -mkdir NAMENODE/dir0/datadir</command>
|
<command>-fs NAMENODE -mkdir -p NAMENODE/dir0/datadir</command>
|
||||||
<command>-fs NAMENODE -stat "%n-%b" NAMENODE/dir0/data*</command>
|
<command>-fs NAMENODE -stat "%n-%b" NAMENODE/dir0/data*</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6759,7 +6776,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>tail: contents of directory(relative path)</description>
|
<description>tail: contents of directory(relative path)</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -tail dir1</command>
|
<command>-fs NAMENODE -tail dir1</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -6966,7 +6983,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: directory using relative path</description>
|
<description>count: directory using relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -count dir1</command>
|
<command>-fs NAMENODE -count dir1</command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -7173,10 +7190,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: relative path to multiple directories using globbing</description>
|
<description>count: relative path to multiple directories using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -mkdir dir4</command>
|
<command>-fs NAMENODE -mkdir -p dir4</command>
|
||||||
<command>-fs NAMENODE -count dir* </command>
|
<command>-fs NAMENODE -count dir* </command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -7237,10 +7254,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: relative path to multiple directories without globbing</description>
|
<description>count: relative path to multiple directories without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -mkdir dir4</command>
|
<command>-fs NAMENODE -mkdir -p dir4</command>
|
||||||
<command>-fs NAMENODE -count dir1 dir2 dir3 dir4 </command>
|
<command>-fs NAMENODE -count dir1 dir2 dir3 dir4 </command>
|
||||||
</test-commands>
|
</test-commands>
|
||||||
<cleanup-commands>
|
<cleanup-commands>
|
||||||
|
@ -7322,7 +7339,7 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: directory using relative path with -q option</description>
|
<description>count: directory using relative path with -q option</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
||||||
<command>-fs NAMENODE -count -q dir1</command>
|
<command>-fs NAMENODE -count -q dir1</command>
|
||||||
|
@ -7539,10 +7556,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: relative path to multiple directories using globbing with -q option</description>
|
<description>count: relative path to multiple directories using globbing with -q option</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -mkdir dir4</command>
|
<command>-fs NAMENODE -mkdir -p dir4</command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir2 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir2 </dfs-admin-command>
|
||||||
|
@ -7619,10 +7636,10 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>count: relative path to multiple directories without globbing with -q option</description>
|
<description>count: relative path to multiple directories without globbing with -q option</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir1</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir3</command>
|
<command>-fs NAMENODE -mkdir -p dir3</command>
|
||||||
<command>-fs NAMENODE -mkdir dir4</command>
|
<command>-fs NAMENODE -mkdir -p dir4</command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir1 </dfs-admin-command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setSpaceQuota 1m dir1 </dfs-admin-command>
|
||||||
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir2 </dfs-admin-command>
|
<dfs-admin-command>-fs NAMENODE -setQuota 10 dir2 </dfs-admin-command>
|
||||||
|
@ -8482,8 +8499,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of directory in relative path</description>
|
<description>chmod: change permission(octal mode) of directory in relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -8594,8 +8611,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of directory in relative path</description>
|
<description>chmod: change permission(normal mode) of directory in relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -8662,8 +8679,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of directory in relative path recursively</description>
|
<description>chmod: change permission(octal mode) of directory in relative path recursively</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -8730,8 +8747,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of directory in relative path recursively</description>
|
<description>chmod: change permission(normal mode) of directory in relative path recursively</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -8949,13 +8966,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of multiple directories in relative path using globbing</description>
|
<description>chmod: change permission(octal mode) of multiple directories in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9125,13 +9142,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of multiple directories in relative path without globbing</description>
|
<description>chmod: change permission(octal mode) of multiple directories in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9301,13 +9318,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of multiple directories in relative path using globbing</description>
|
<description>chmod: change permission(normal mode) of multiple directories in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9477,13 +9494,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of multiple directories in relative path without globbing</description>
|
<description>chmod: change permission(normal mode) of multiple directories in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9587,13 +9604,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of multiple directories in relative path recursively using globbing</description>
|
<description>chmod: change permission(octal mode) of multiple directories in relative path recursively using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9697,13 +9714,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(octal mode) of multiple directories in relative path recursively without globbing</description>
|
<description>chmod: change permission(octal mode) of multiple directories in relative path recursively without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9807,13 +9824,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of multiple directories in relative path recursively using globbing</description>
|
<description>chmod: change permission(normal mode) of multiple directories in relative path recursively using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -9917,13 +9934,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chmod: change permission(normal mode) of multiple directories in relative path recursively without globbing</description>
|
<description>chmod: change permission(normal mode) of multiple directories in relative path recursively without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -12183,8 +12200,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of directory in relative path</description>
|
<description>chown: change ownership of directory in relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -12251,8 +12268,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of directory in relative path recursively </description>
|
<description>chown: change ownership of directory in relative path recursively </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -12438,13 +12455,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of multiple directories in relative path using globbing</description>
|
<description>chown: change ownership of multiple directories in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -12614,13 +12631,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of multiple directories in relative path without globbing</description>
|
<description>chown: change ownership of multiple directories in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -12724,13 +12741,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of multiple directories recursively in relative path using globbing</description>
|
<description>chown: change ownership of multiple directories recursively in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -12834,13 +12851,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chown: change ownership of multiple directories recursively in relative path without globbing</description>
|
<description>chown: change ownership of multiple directories recursively in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -13462,8 +13479,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of directory in relative path</description>
|
<description>chgrp: change group of directory in relative path</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -13530,8 +13547,8 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of directory in relative path recursively </description>
|
<description>chgrp: change group of directory in relative path recursively </description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
|
@ -13717,13 +13734,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of multiple directories in relative path using globbing</description>
|
<description>chgrp: change group of multiple directories in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -13893,13 +13910,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of multiple directories in relative path without globbing</description>
|
<description>chgrp: change group of multiple directories in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -14003,13 +14020,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of multiple directories recursively in relative path using globbing</description>
|
<description>chgrp: change group of multiple directories recursively in relative path using globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
@ -14113,13 +14130,13 @@
|
||||||
<test> <!-- TESTED -->
|
<test> <!-- TESTED -->
|
||||||
<description>chgrp: change group of multiple directories recursively in relative path without globbing</description>
|
<description>chgrp: change group of multiple directories recursively in relative path without globbing</description>
|
||||||
<test-commands>
|
<test-commands>
|
||||||
<command>-fs NAMENODE -mkdir dir0</command>
|
<command>-fs NAMENODE -mkdir -p dir0</command>
|
||||||
<command>-fs NAMENODE -mkdir dir0/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir0/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/file0</command>
|
<command>-fs NAMENODE -touchz dir0/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir0/dir1/file2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2</command>
|
<command>-fs NAMENODE -mkdir -p dir2</command>
|
||||||
<command>-fs NAMENODE -mkdir dir2/dir1</command>
|
<command>-fs NAMENODE -mkdir -p dir2/dir1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/file0</command>
|
<command>-fs NAMENODE -touchz dir2/file0</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file1</command>
|
||||||
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
<command>-fs NAMENODE -touchz dir2/dir1/file2</command>
|
||||||
|
|
Loading…
Reference in New Issue