Have you looked at - http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-hdfs/Federation.html ?
On Thu, Jan 23, 2014 at 9:35 AM, AnilKumar B <akumarb2...@gmail.com> wrote: > Hi, > > We tried setting up HDFS name node federation set up with 2 name nodes. I > am facing few issues. > > Can any one help me in understanding below points? > > 1) how can we configure different namespaces to different name node? Where > exactly we need to configure this? > See the documentation. If it is not clear, please open a jira. > > 2) After formatting each NN with one cluster id, Do we need to set this > cluster id in hdfs-site.xml? > There is no need to set the cluster id in hdfs-site.xml > > 3) I am getting exception like, data dir already locked by one of the NN, > But when don't specify data.dir, then it's not showing exception. So what > could be the issue? > Are you running the two namenode processes on the same machine? > > Thanks & Regards, > B Anil Kumar. > -- http://hortonworks.com/download/ -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.