Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.1, 2.9.2
Description
Currently with HA, Namenode in safemode can be possibly selected as active, for availability of both read and write, Namenodes not in safemode are better choices to become active though.
It can take tens of minutes for a cold started Namenode to get out of safemode, especially when there are large number of files and blocks in HDFS, that means if a Namenode in safemode become active, the cluster will be not fully functioning for quite a while, even if it can while there is some Namenode not in safemode.
The proposal here is to add an option, to allow Namenode to report itself as UNHEALTHY to ZKFC, if it's in safemode, so as to only allow fully functioning Namenode to become active, improving the general availability of the cluster.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-16547 [SBN read] Namenode in safe mode should not be transfered to observer state
- Resolved
- relates to
-
HDFS-6440 Support more than 2 NameNodes
- Resolved
- links to