/** * Return an iterator over the set of blocks for which there are no replicas. */ public Iterator<BlockInfo> getCorruptReplicaBlockIterator() { return neededReconstruction.iterator( LowRedundancyBlocks.QUEUE_WITH_CORRUPT_BLOCKS); }
for (int i = 0; i < neededReconstruction.LEVEL; i++) { if (i != neededReconstruction.QUEUE_WITH_CORRUPT_BLOCKS) { for (Iterator<BlockInfo> it = neededReconstruction.iterator(i); it.hasNext();) { Block block = it.next(); neededReconstruction.getCorruptBlockSize()); for (Iterator<BlockInfo> it = neededReconstruction. iterator(neededReconstruction.QUEUE_WITH_CORRUPT_BLOCKS); it.hasNext();) { Block block = it.next();