lei liu 2013-04-12, 03:40
You can reference this function, it remove excess replicas form the map.
public void removeStoredBlock(Block block, DatanodeDescriptor node)
2013/4/12 lei liu <[EMAIL PROTECTED]>
> I use hadoop-2.0.3. I find when on block is over-replicated, the replicas
> to be add to excessReplicateMap attribute of Blockmanager. But when the
> block is deleted or the block has the intended number of replicas, the
> replicas is not deleted form excessReplicateMap attribute.
> I think this is bug. If my understand may be wrong, please anyboy tell me
> when to delete replicas form excessReplicateMap attribute?