HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockReportContext. Contributed by Vinitha Gankidi.

This commit is contained in:
Vinitha Reddy Gankidi 2016-10-17 18:55:26 -07:00 committed by Konstantin V Shvachko
parent 1fcaba9b14
commit 86f291f057
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ public class TestDataNodeVolumeFailure {
new StorageBlockReport(dnStorage, blockList);
}
cluster.getNameNodeRpc().blockReport(dnR, bpid, reports, null);
cluster.getNameNodeRpc().blockReport(dnR, bpid, reports,
new BlockReportContext(1, 0, System.nanoTime()));
// verify number of blocks and files...
verify(filename, filesize);