Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> block over-replicated

lei liu 2013-04-12, 03:40
Copy link to this message
Re: block over-replicated
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?