|
@@ -2196,8 +2196,6 @@ class FSNamesystem implements FSConstants {
|
|
DatanodeDescriptor targets[] =
|
|
DatanodeDescriptor targets[] =
|
|
(DatanodeDescriptor[]) replicateTargetSets.get(i);
|
|
(DatanodeDescriptor[]) replicateTargetSets.get(i);
|
|
int numCurrentReplica = numCurrentReplicas.get(i).intValue();
|
|
int numCurrentReplica = numCurrentReplicas.get(i).intValue();
|
|
- Collection<DatanodeDescriptor> containingNodes = blocksMap.get(block);
|
|
|
|
-
|
|
|
|
if (numCurrentReplica + targets.length >=
|
|
if (numCurrentReplica + targets.length >=
|
|
dir.getFileByBlock( block).getReplication() ) {
|
|
dir.getFileByBlock( block).getReplication() ) {
|
|
neededReplications.remove(block);
|
|
neededReplications.remove(block);
|