|
@@ -465,8 +465,8 @@ public abstract class BaseTestHttpFSWith extends HFSTestCase {
|
|
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);
|