[ 
https://issues.apache.org/jira/browse/HDFS-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339978#comment-14339978
 ] 

Tsz Wo Nicholas Sze commented on HDFS-7769:
-------------------------------------------

I seems not the right person to work on this JIRA.  Removed the files I 
attached.  Here is my suggested fix.
{code}
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml 
b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
index 05546a2..0c1083c 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
@@ -16483,8 +16483,8 @@
         <command>-fs NAMENODE -mkdir -p /user/USERNAME/dir1</command>
         <command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data15bytes 
/user/USERNAME/dir1</command>
         <command>-fs NAMENODE -copyFromLocal CLITEST_DATA/data30bytes 
/user/USERNAME/dir1</command>
-        <command>-fs NAMENODE -getmerge /user/USERNAME/dir1 data</command>
-        <command>-cat data</command>
+        <command>-fs NAMENODE -getmerge /user/USERNAME/dir1 
CLITEST_DATA/file</command>
+        <command>-cat CLITEST_DATA/file</command>
       </test-commands>
       <cleanup-commands>
         <command>-fs NAMENODE -rm -r /user/USERNAME</command>
{code}
If anyone want to work on this, please feel free to assign this JIRA to 
yourself.  I am happy to review your patch.

> TestHDFSCLI create files in hdfs project root dir
> -------------------------------------------------
>
>                 Key: HDFS-7769
>                 URL: https://issues.apache.org/jira/browse/HDFS-7769
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Tsz Wo Nicholas Sze
>            Priority: Trivial
>
> After running TestHDFSCLI, two files (data and .data.crc) remain in hdfs 
> project root dir.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to