HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockReportContext. Contributed by Vinitha Gankidi.
This commit is contained in:
parent
1fcaba9b14
commit
86f291f057
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue