Hi Mei,
Thanks. Please also keep hdfs-dev@hadoop.apache.org on the to: list
when replying, so your questions get exposure from other HDFS devs as
well :)
Regarding your question, the answer is no, the NN will never violate
the block placement policy on its own when choosing block location
targets
Good to know! Please also consider improving the javadoc on that
method to reflect this, by logging a doc JIRA under HDFS :)
On Thu, Apr 4, 2013 at 12:33 PM, Mei Long wrote:
> Harsh,
>
> Thank you! This is exactly what I was confused about. By looking at the code
> I was suspecting that it's not
Hi Mei,
These questions are best fit for the whole hdfs-dev@ group, which am
adding while responding back.
You're correct that the local node being not chosen, a random node on
the same rack as the writer may be tried. However, if the writer node
itself had no local DN in the first place, a compl