HDFS-9580. TestComputeInvalidateWork#testDatanodeReRegistration failed due to unexpected number of invalidate blocks. Contributed by Wei-Chiu Chuang.

Change-Id: I9411dfb1dd4605cbcc515ca3361218d35d7c5fe3
This commit is contained in:
Zhe Zhang 2015-12-21 22:38:30 -08:00
parent 114b590955
commit 0087734cc1
2 changed files with 4 additions and 0 deletions

View File

@ -397,6 +397,9 @@ Trunk (Unreleased)
HDFS-9423. Fix intermittent failure of TestEditLogTailer.
(Masatake Iwasaki via waltersu4549)
HDFS-9580. TestComputeInvalidateWork#testDatanodeReRegistration failed
due to unexpected number of invalidate blocks. (Wei-Chiu Chuang via zhz)
BREAKDOWN OF HDFS-7285 SUBTASKS AND RELATED JIRAS
HDFS-7347. Configurable erasure coding policy for individual files and

View File

@ -146,6 +146,7 @@ public class TestComputeInvalidateWork {
// Create a file and shutdown the DNs, which populates InvalidateBlocks
DFSTestUtil.createFile(dfs, path, dfs.getDefaultBlockSize(),
(short) NUM_OF_DATANODES, 0xED0ED0);
DFSTestUtil.waitForReplication(dfs, path, (short) NUM_OF_DATANODES, 12000);
for (DataNode dn : cluster.getDataNodes()) {
dn.shutdown();
}