- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
What Happens if a Failed NameNode is Back On Again after the Standby Namenode became Active?
- Labels:
-
Apache Hadoop
Created ‎12-04-2018 06:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
Suppose the Following Scenario:
1) we have a HA hadoop Cluster
2) Active Namenode Fails for some reason (EX: POWEROFF)
3) Standby Namenode Becomes Active
4) The Failed Namenode becomes ON back again
the question is:
what happens then?
does the failed Namenode becomes a standby node, or what?
enlighten me please
thank you
Created ‎12-04-2018 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jay Coder,
Please refer to automatic failover section in this blog : https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.ht...
also you can refer this jira which explains how HDFS handles the failover and choose the Namenode to be active. : https://issues.apache.org/jira/browse/HDFS-2185
Please accept this answer if it clarifies your doubt.
Created ‎12-04-2018 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jay Coder,
Please refer to automatic failover section in this blog : https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.ht...
also you can refer this jira which explains how HDFS handles the failover and choose the Namenode to be active. : https://issues.apache.org/jira/browse/HDFS-2185
Please accept this answer if it clarifies your doubt.
Created ‎12-04-2018 06:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you see if this answer helps you .Please accept this answer if it did.
Created ‎12-04-2018 10:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer
I found the answer to my question after taking a look at the Failover_controller state machine diagram found in the Jira issue
it was not mentioned anywhere else
After all, The answer is TRUE
Created ‎12-04-2018 08:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the question is:
what happens then?
does the failed Namenode becomes a standby node -- TRUE
https://stackoverflow.com/questions/33311585/how-does-hadoop-namenode-failover-process-works
Created ‎12-04-2018 10:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the answer,
the answer (TRUE) was expected actually, but I needed an official statement for it
I found it in the Jira issue mentioned above in the state machine diagram
Thank you anyway
