HDFS-7936. Erasure coding: resolving conflicts in the branch when merging (this commit is for HDFS-7742)
This commit is contained in:
parent
d9af36b9bd
commit
97378e4cd0
|
@ -557,11 +557,11 @@ public class TestBlockManager {
|
||||||
assertNotNull("Chooses decommissioning source node for a normal replication"
|
assertNotNull("Chooses decommissioning source node for a normal replication"
|
||||||
+ " if all available source nodes have reached their replication"
|
+ " if all available source nodes have reached their replication"
|
||||||
+ " limits below the hard limit.",
|
+ " limits below the hard limit.",
|
||||||
bm.chooseSourceDatanode(
|
bm.chooseSourceDatanodes(
|
||||||
aBlock,
|
bm.getStoredBlock(aBlock),
|
||||||
cntNodes,
|
cntNodes,
|
||||||
liveNodes,
|
liveNodes,
|
||||||
new NumberReplicas(),
|
new NumberReplicas(), new LinkedList<Short>(), 1,
|
||||||
UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED));
|
UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED));
|
||||||
|
|
||||||
|
|
||||||
|
@ -571,11 +571,11 @@ public class TestBlockManager {
|
||||||
|
|
||||||
assertNull("Does not choose a source decommissioning node for a normal"
|
assertNull("Does not choose a source decommissioning node for a normal"
|
||||||
+ " replication when all available nodes exceed the hard limit.",
|
+ " replication when all available nodes exceed the hard limit.",
|
||||||
bm.chooseSourceDatanode(
|
bm.chooseSourceDatanodes(
|
||||||
aBlock,
|
bm.getStoredBlock(aBlock),
|
||||||
cntNodes,
|
cntNodes,
|
||||||
liveNodes,
|
liveNodes,
|
||||||
new NumberReplicas(),
|
new NumberReplicas(), new LinkedList<Short>(), 1,
|
||||||
UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED));
|
UnderReplicatedBlocks.QUEUE_UNDER_REPLICATED));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue