CorruptReplicasMap (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.blockmanagement, class: CorruptReplicasMap

Package org.apache.hadoop.hdfs.server.blockmanagement

# 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>

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `CorruptReplicasMap.Reason`
  The corruption reason code

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CorruptReplicasMap()`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CorruptReplicasMap

    public CorruptReplicasMap()