You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Giovanni Marzulli <gi...@ba.infn.it> on 2012/04/12 16:40:43 UTC

Question about «dfs.replication.considerLoad» property

Hi all,

The property «dfs.replication.considerLoad» "Decide if chooseTarget 
considers the target's load or not"; but it works both in writing and in 
reading? or only during writing?

Thanks
Gianni

Re: Question about «dfs.replication.considerLoad» property

Posted by Todd Lipcon <to...@cloudera.com>.
Hi Gianni,

The property only affects replication _target_ choice. The source node
for replication is chosen based on the policy described in the javadoc
for BlockManager#chooseSourceDatanode.

-Todd

On Thu, Apr 12, 2012 at 7:40 AM, Giovanni Marzulli
<gi...@ba.infn.it> wrote:
> Hi all,
>
> The property «dfs.replication.considerLoad» "Decide if chooseTarget
> considers the target's load or not"; but it works both in writing and in
> reading? or only during writing?
>
> Thanks
> Gianni



-- 
Todd Lipcon
Software Engineer, Cloudera