Created 12-04-2018 06:00 AM
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
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
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
Can you see if this answer helps you .Please accept this answer if it did.
Created 12-04-2018 10:01 PM
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
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
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