Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Is there a way to configure 'n' hosts as namenode in ambari?

avatar
Rising Star
 
1 ACCEPTED SOLUTION

avatar
Super Guru

@Aman Poonia

Yes. You can. It is called Name Node Federation: https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/Federation.html. However, Ambari does not support it: https://issues.apache.org/jira/browse/AMBARI-10982

If response is helpful, pls vote/accept.

View solution in original post

6 REPLIES 6

avatar
Master Guru

@Aman Poonia - Can you please elaborate your question? are you trying to say - can we configure 'n' number of nodes as namenode in ambari?

avatar
Rising Star

@Kuldeep Kulkarni - I am talking about having more than 2 namenodes. Where we can have more than 1 standby namenodes as stated in HDFS-6440 .

avatar
Super Guru

@Aman Poonia

Yes. You can. It is called Name Node Federation: https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/Federation.html. However, Ambari does not support it: https://issues.apache.org/jira/browse/AMBARI-10982

If response is helpful, pls vote/accept.

avatar
Rising Star

Thanks @Constantin Stanca. That's what i was looking for.

avatar
Super Guru

@Aman Poonia

I think what you are asking for is N+2 redundancy for namenode. This feature will be available in Hadoop 3.0. It would allow 3-5 name ndoes. Please see the following Jira.

https://issues.apache.org/jira/browse/HDFS-6440

avatar
Rising Star

Yes, you are right. I was trying to setup 3 name node and i couldn't find a way to do that in Ambari. It is in Hadoop 3.0Alpha.