HDFS-7236. Fix TestOpenFilesWithSnapshot#testOpenFilesWithMultipleSnapshots. Contributed by Yongjun Zhang.
This commit is contained in:
parent
793dbf2465
commit
98ac9f26c5
|
@ -937,6 +937,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HDFS-7203. Concurrent appending to the same file can cause data corruption
|
HDFS-7203. Concurrent appending to the same file can cause data corruption
|
||||||
(kihwal)
|
(kihwal)
|
||||||
|
|
||||||
|
HDFS-7236. Fix TestOpenFilesWithSnapshot#testOpenFilesWithMultipleSnapshots.
|
||||||
|
(Yongjun Zhang via jing9)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
||||||
|
|
|
@ -175,6 +175,7 @@ public class TestOpenFilesWithSnapshot {
|
||||||
fs.createSnapshot(path, "s2");
|
fs.createSnapshot(path, "s2");
|
||||||
fs.delete(new Path("/test/test"), true);
|
fs.delete(new Path("/test/test"), true);
|
||||||
fs.deleteSnapshot(path, "s2");
|
fs.deleteSnapshot(path, "s2");
|
||||||
|
cluster.triggerBlockReports();
|
||||||
if (saveNamespace) {
|
if (saveNamespace) {
|
||||||
NameNode nameNode = cluster.getNameNode();
|
NameNode nameNode = cluster.getNameNode();
|
||||||
NameNodeAdapter.enterSafeMode(nameNode, false);
|
NameNodeAdapter.enterSafeMode(nameNode, false);
|
||||||
|
|
Loading…
Reference in New Issue