Support Questions
Find answers, ask questions, and share your expertise

Nameservice nameservice1 has 2 NameNodes and 1 SecondaryNameNode(s)

Solved Go to solution

Nameservice nameservice1 has 2 NameNodes and 1 SecondaryNameNode(s)

Rising Star

On a HA HDFS, I tried to add SecondaryNameNode. Here is what I face:

 

When I add the SecondaryNameNode role instance, I got "validation error":

 

Federated SecondaryNameNode secondarynamenode (mybigdata) is not configured with a Nameservice

 

When I configure nameservice as the nameservice of the HDFS cluster, I got "validation error" :

 

Nameservice nameservice1 has 2 NameNodes and 1 SecondaryNameNode(s)

So, how to correctly configure the SecondaryNameNode? What's the correct number of NameNode / SecondaryNameNode

Actually, we are getting around 200MB edit log in 1 month. Is is OK not to have SecondaryNameNode?

 

CDH 5.1, 5.2

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Nameservice nameservice1 has 2 NameNodes and 1 SecondaryNameNode(s)

Master Guru
You do not need a SecondaryNameNode in HA. Please delete the role to
resolve your issue. You can read the HA Architecture at
http://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWi...
to further understand how HA works.

View solution in original post

1 REPLY 1
Highlighted

Re: Nameservice nameservice1 has 2 NameNodes and 1 SecondaryNameNode(s)

Master Guru
You do not need a SecondaryNameNode in HA. Please delete the role to
resolve your issue. You can read the HA Architecture at
http://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWi...
to further understand how HA works.

View solution in original post

Don't have an account?