diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 2bedff43508..691fca79d52 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -120,6 +120,9 @@ Trunk (Unreleased) HDFS-5004. Add additional JMX bean for NameNode status data (Trevor Lorimer via cos) + HDFS-9847. TestGlobPath symlink tests fail to cleanup properly. + (cmccabe via wang) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java index 76f668f6fee..5989b9be000 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestGlobPaths.java @@ -405,6 +405,8 @@ public class TestGlobPaths { status = fs.globStatus(new Path("/x/x"), falseFilter); assertNull(status); + + cleanupDFS(); } private void checkStatus(FileStatus[] status, Path ... expectedMatches) { @@ -783,8 +785,7 @@ public class TestGlobPaths { return globResults; } - @After - public void cleanupDFS() throws IOException { + private void cleanupDFS() throws IOException { fs.delete(new Path(USER_DIR), true); }