diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index cd8530f33d..10fe6f1b3d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -656,6 +656,8 @@ Release 0.23.2 - UNRELEASED HDFS-3098. Update and add tests for HADOOP-8173. (Daryn Sharp via szetszwo) + HDFS-3104. Add tests for HADOOP-8175. (Daryn Sharp via szetszwo) + OPTIMIZATIONS BUG FIXES 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 ad26ae0c3b..7f9432a5f8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml @@ -5719,6 +5719,42 @@ + + + mkdir: Test recreate of existing directory fails + + -fs NAMENODE -rm -r -f dir0 + -fs NAMENODE -mkdir dir0/dir1 + -fs NAMENODE -mkdir dir0/dir1 + + + -fs NAMENODE -rm -r dir0 + + + + RegexpComparator + mkdir: `dir0/dir1': File exists + + + + + + mkdir: Test recreate of existing directory with -p succeeds + + -fs NAMENODE -rm -r -f dir0 + -fs NAMENODE -mkdir dir0/dir1 + -fs NAMENODE -mkdir -p dir0/dir1 + + + -fs NAMENODE -rm -r dir0 + + + + ExactComparator + + + +