Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,11 @@ private void doTestBalancerWithStripedFile(Configuration conf) throws Exception
BalancerParameters p = BalancerParameters.DEFAULT;
runBalancer(conf, totalUsedSpace, totalCapacity, p, 0);

// namenode will ask datanode to delete replicas in heartbeat response
cluster.triggerHeartbeats();
// namenode will update block locations according to the report
cluster.triggerDeletionReports();

// verify locations of striped blocks
locatedBlocks = client.getBlockLocations(fileName, 0, fileLen);
StripedFileTestUtil.verifyLocatedStripedBlocks(locatedBlocks, groupSize);
Expand Down