HDFS-7039. Archival Storage: fix Balancer tests. Contributed by Tsz Wo Nicholas Sze.

This commit is contained in:
Jing Zhao 2014-09-11 14:19:18 -07:00
parent 8de20a1987
commit dc27ee9ae9
1 changed files with 0 additions and 3 deletions

View File

@ -965,9 +965,6 @@ private boolean isGoodBlockCandidate(StorageGroup source, StorageGroup target,
if (target.storageType != targetStorageType) {
return false;
}
if (!target.hasSpaceForScheduling(block.getNumBytes())) {
return false;
}
// check if the block is moved or not
if (movedBlocks.contains(block.getBlock())) {
return false;