Class CorruptReplicasMap

java.lang.Object
org.apache.hadoop.hdfs.server.blockmanagement.CorruptReplicasMap

@Private public class CorruptReplicasMap extends Object
Stores information about all corrupt blocks in the File System. A Block is considered corrupt only if all of its replicas are corrupt. While reporting replicas of a Block, we hide any corrupt copies. These copies are removed once Block is found to have expected number of good replicas. Mapping: Block -> TreeSet<DatanodeDescriptor>
  • Constructor Details

    • CorruptReplicasMap

      public CorruptReplicasMap()