HDFS-9597. BaseReplicationPolicyTest should update data node stats after adding a data node. Contributed by Wei-Chiu Chuang.
This commit is contained in:
parent
5a50651e5b
commit
6ceee07357
|
@ -98,6 +98,8 @@ abstract public class BaseReplicationPolicyTest {
|
|||
cluster.add(dataNodes[i]);
|
||||
bm.getDatanodeManager().getHeartbeatManager().addDatanode(
|
||||
dataNodes[i]);
|
||||
bm.getDatanodeManager().getHeartbeatManager().updateDnStat(
|
||||
dataNodes[i]);
|
||||
}
|
||||
updateHeartbeatWithUsage();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue