HDFS-8412. Fix the test failures in HTTPFS: In some tests setReplication called after fs close. Contributed by Uma Maheswara Rao G.
This commit is contained in:
parent
363c35541d
commit
a6af0248e9
@ -465,8 +465,8 @@ private void testSetReplication() throws Exception {
|
|||||||
OutputStream os = fs.create(path);
|
OutputStream os = fs.create(path);
|
||||||
os.write(1);
|
os.write(1);
|
||||||
os.close();
|
os.close();
|
||||||
fs.close();
|
|
||||||
fs.setReplication(path, (short) 2);
|
fs.setReplication(path, (short) 2);
|
||||||
|
fs.close();
|
||||||
|
|
||||||
fs = getHttpFSFileSystem();
|
fs = getHttpFSFileSystem();
|
||||||
fs.setReplication(path, (short) 1);
|
fs.setReplication(path, (short) 1);
|
||||||
|
@ -332,6 +332,8 @@ Trunk (Unreleased)
|
|||||||
|
|
||||||
HDFS-8332. DFS client API calls should check filesystem closed (Rakesh R via umamahesh)
|
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
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user