HDFS-7236. Fix TestOpenFilesWithSnapshot#testOpenFilesWithMultipleSnapshots. Contributed by Yongjun Zhang.

This commit is contained in:
Jing Zhao 2014-10-13 10:27:36 -07:00
parent 034fcaa540
commit 369ef7c4b7
2 changed files with 4 additions and 0 deletions

View File

@ -550,6 +550,9 @@ Release 2.6.0 - UNRELEASED
HDFS-7203. Concurrent appending to the same file can cause data corruption
(kihwal)
HDFS-7236. Fix TestOpenFilesWithSnapshot#testOpenFilesWithMultipleSnapshots.
(Yongjun Zhang via jing9)
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
HDFS-6387. HDFS CLI admin tool for creating & deleting an

View File

@ -175,6 +175,7 @@ public class TestOpenFilesWithSnapshot {
fs.createSnapshot(path, "s2");
fs.delete(new Path("/test/test"), true);
fs.deleteSnapshot(path, "s2");
cluster.triggerBlockReports();
if (saveNamespace) {
NameNode nameNode = cluster.getNameNode();
NameNodeAdapter.enterSafeMode(nameNode, false);