Sfoglia il codice sorgente

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

Jing Zhao 10 anni fa
parent
commit
dc27ee9ae9

+ 0 - 3
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java

@@ -965,9 +965,6 @@ public class Dispatcher {
     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;