Thanks for the tip, I am reading the code now, thanks a lot!
Boyu Zhang -----Original Message----- From: Hairong Kuang [mailto:[email protected]] Sent: Friday, July 24, 2009 1:55 PM To: [email protected] 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" <[email protected]> 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:[email protected]] > Sent: Friday, July 24, 2009 12:54 PM > To: [email protected] > 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 > >
