- <init>
- addBlock
The given node is reporting that it received a certain block.
- addToInvalidates
Adds block to list of blocks which will be invalidated on all its datanodes.
- computeDatanodeWork
Compute block replication and block invalidation work that can be scheduled on
data-nodes. The datan
- computeInvalidateWork
Schedule blocks for deletion at datanodes
- countLiveNodes
Simpler, faster form of #countNodes(Block) that only returns the number of live
nodes. If in startup
- countNodes
- enqueueBlockOp
- findAndMarkBlockAsCorrupt
Mark the block belonging to datanode as corrupt
- getBlockCollection
- getDatanodeManager
- getExcessBlocksCount
Used by metrics