HDFS-7039. Archival Storage: fix Balancer tests. Contributed by Tsz Wo Nicholas Sze.
This commit is contained in:
parent
8de20a1987
commit
dc27ee9ae9
|
@ -965,9 +965,6 @@ public class Dispatcher {
|
||||||
if (target.storageType != targetStorageType) {
|
if (target.storageType != targetStorageType) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!target.hasSpaceForScheduling(block.getNumBytes())) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// check if the block is moved or not
|
// check if the block is moved or not
|
||||||
if (movedBlocks.contains(block.getBlock())) {
|
if (movedBlocks.contains(block.getBlock())) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue