diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java index 2cc67d417c..0e082cca03 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java @@ -465,8 +465,8 @@ private void testSetReplication() throws Exception { OutputStream os = fs.create(path); os.write(1); os.close(); - fs.close(); fs.setReplication(path, (short) 2); + fs.close(); fs = getHttpFSFileSystem(); fs.setReplication(path, (short) 1); diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 3e0d360664..8d0c5b6f10 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -332,6 +332,8 @@ Trunk (Unreleased) HDFS-8332. DFS client API calls should check filesystem closed (Rakesh R via umamahesh) + HDFS-8412. Fix the test failures in HTTPFS. (umamahesh) + Release 2.8.0 - UNRELEASED INCOMPATIBLE CHANGES