RE: Block placement without rack aware
It’s still random. If rack aware is not enabled, all nodes are in “default-rack”, and random nodes are chosen for block replications. Regards, Yi Liu From: SF Hadoop [mailto:sfhad...@gmail.com] Sent: Friday, October 03, 2014 7:12 AM To: user@hadoop.apache.org Subject: Block placement without rack aware What is the block placement policy hadoop follows when rack aware is not enabled? Does it just round robin? Thanks.
Re: Block placement without rack aware
It appears to be randomly chosen. I just came across this blog post from Lars George about HBase file locality in HDFS http://www.larsgeorge.com/2010/05/hbase-file-locality-in-hdfs.html On Thu, Oct 2, 2014 at 4:12 PM, SF Hadoop sfhad...@gmail.com wrote: What is the block placement policy hadoop follows when rack aware is not enabled? Does it just round robin? Thanks.
Re: Block placement without rack aware
Thanks for the info. Exactly what I needed. Cheers. On Thu, Oct 2, 2014 at 4:21 PM, Pradeep Gollakota pradeep...@gmail.com wrote: It appears to be randomly chosen. I just came across this blog post from Lars George about HBase file locality in HDFS http://www.larsgeorge.com/2010/05/hbase-file-locality-in-hdfs.html On Thu, Oct 2, 2014 at 4:12 PM, SF Hadoop sfhad...@gmail.com wrote: What is the block placement policy hadoop follows when rack aware is not enabled? Does it just round robin? Thanks.