HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7c6b6547 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7c6b6547 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7c6b6547 Branch: refs/heads/YARN-2928 Commit: 7c6b6547eeed110e1a842e503bfd33afe04fa814 Parents: 7eeca90 Author: Tsz-Wo Nicholas Sze <szets...@hortonworks.com> Authored: Tue Feb 10 17:48:57 2015 -0800 Committer: Tsz-Wo Nicholas Sze <szets...@hortonworks.com> Committed: Tue Feb 10 17:48:57 2015 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/test/resources/testHDFSConf.xml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/7c6b6547/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 59d498d..2e90478 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -901,6 +901,9 @@ Release 2.7.0 - UNRELEASED HDFS-7714. Simultaneous restart of HA NameNodes and DataNode can cause DataNode to register successfully with only one NameNode.(vinayakumarb) + HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir. + (szetszwo) + Release 2.6.1 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/7c6b6547/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml ---------------------------------------------------------------------- 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..935cd58 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>