hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hairong Kuang <hair...@yahoo-inc.com>
Subject Re: Questions on How the Namenode Assign Blocks to Datanodes
Date Fri, 24 Jul 2009 17:54:46 GMT
org.apache.hadoop.hdfs.server.namenode.ReplicationTargetChooser contains the
block placement policy.
ReplicationTargetChooser#chooseLocalNode picks the first location.

Hairong

On 7/24/09 10:26 AM, "Boyu Zhang" <boyuzhang35@gmail.com> wrote:

> Thank you for the reply. Do you by any chance remember where did you read
> this? Thanks a lot!
> 
> Boyu 
> 
> 
> 
> 
> -----Original Message-----
> From: Hairong Kuang [mailto:hairong@yahoo-inc.com]
> Sent: Friday, July 24, 2009 12:54 PM
> To: common-user@hadoop.apache.org
> Subject: Re: Questions on How the Namenode Assign Blocks to Datanodes
> 
>> you are running on (to save bandwidth). Otherwise, another machine will
>> somehow be picked (I forget where and how).
> 
> Another machine will be randomly chosen.
> 
> Hairong
> 
> 


Mime
View raw message