Browse Source

HDFS-8844. TestHDFSCLI does not cleanup the test directory (Masatake Iwasaki via Colin P. McCabe)

Colin Patrick Mccabe 10 năm trước cách đây
mục cha
commit
c95993cbaf

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -1113,6 +1113,9 @@ Release 2.8.0 - UNRELEASED
     pool to be scanned but there are suspicious blocks. (Colin Patrick McCabe
     via yliu)
 
+    HDFS-8844. TestHDFSCLI does not cleanup the test directory (Masatake
+    Iwasaki via Colin P. McCabe)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

@@ -16525,7 +16525,7 @@
         <command>-cat CLITEST_DATA/file</command>
       </test-commands>
       <cleanup-commands>
-        <command>-fs NAMENODE -rm -r /user/USERNAME</command>
+        <command>-fs NAMENODE -rm -r /user/USERNAME CLITEST_DATA/file</command>
         <command>rm data</command>
       </cleanup-commands>
       <comparators>