How to set properties for secondary namenode in Hadoop?

Big Data Hadoop

Hi Guys,

I am trying to set properties for secondary namenode, so that my cluster will always remain in running state even if my namenode goes down.

Thank You

2
Answers

Replies

Here is the simple way to set the properties for the secondary namenode in Hadoop.


Before you are setting up the properties, you need to ensure that the cluster is not running. You need to set the properties in the hdfs-site.xml file. Below is the code that you need to use to set up the properties.


<property>

    <name>dfs.secondary.http.address</name>

    <value>master:50090</value>

</property>

Once the property is set up, you can start the cluster which would definitely work.

 
 

If you want to unleash your potential in this competitive field, please visit the Big Data Hadoop course page for more information, where you can find the Big Data Hadoop tutorials and Big Data Hadoop frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.