- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Namenode Issue Active and Standby
- Labels:
-
Apache Hadoop
-
Apache YARN
Created ‎07-15-2016 09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a production cluster with physical server: One is active namenode other is standby name but i track the following things in my production cluster:
if i navigate the HDFS and click on quick links then it shows
nn01 is active and nn02 is standby namenode but
if i navigate to Yarn and click on quick links it shows the reverse means
nn01 is standby and nn02 is active namenode is these a problem or it happens a bigger issue in comings days....
Created ‎07-15-2016 09:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From above i understood that you have enabled both Namenode HA (HDFS) and Resource Manager HA (YARN)
Now in
1) HDFS, your namenode in nn01 is active and nn02 is standby
2) YARN, your resource manager in nn01 is standby and nn02 is active
You might be confusing with the hostnames and this shouldn't be a problem.
Let me know if this is what you are looking for.
Created ‎07-15-2016 09:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From above i understood that you have enabled both Namenode HA (HDFS) and Resource Manager HA (YARN)
Now in
1) HDFS, your namenode in nn01 is active and nn02 is standby
2) YARN, your resource manager in nn01 is standby and nn02 is active
You might be confusing with the hostnames and this shouldn't be a problem.
Let me know if this is what you are looking for.
Created ‎07-15-2016 03:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sandeep Nemuri is correct, for best practice and in order to avoid confusing I request to change YARN,your resource manager to rm01,rm02
In yarn-site.xml
<property> <name>yarn.resourcemanager.ha.rm-ids</name> <value>rm01,rm02</value> </property>
In Ambari, YARN--> custom yarn site --> yarn.resourcemanager.ha.rm-ids = rm01,rm02
Hope this helps you.
