hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yanbo Liang <yanboha...@gmail.com>
Subject Re: block over-replicated
Date Mon, 15 Apr 2013 10:08:12 GMT
You can reference this function, it remove excess replicas form the map.
    public void removeStoredBlock(Block block, DatanodeDescriptor node)

2013/4/12 lei liu <liulei412@gmail.com>

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

View raw message