hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyu Zhang" <boyuzhan...@gmail.com>
Subject RE: Questions on How the Namenode Assign Blocks to Datanodes
Date Fri, 24 Jul 2009 18:33:51 GMT
Thanks for the tip, I am reading the code now, thanks a lot!


Boyu Zhang


-----Original Message-----
From: Hairong Kuang [mailto:hairong@yahoo-inc.com] 
Sent: Friday, July 24, 2009 1:55 PM
To: common-user@hadoop.apache.org
Subject: Re: Questions on How the Namenode Assign Blocks to Datanodes

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