Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
Currently, for namenode-specific keys in HA, one must configure them as keyfoo.nameserviceid.namenodeid. However, in many cases all of the NNs in a nameservice would share the same value. So we should allow the configuration of "keyfoo.nameserviceid" to apply to all NNs. The resolution path for these keys would then be:
keyfoo.nameserviceid.nnid
keyfoo.nameserviceid (if above not set)
keyfoo (if neither of above set)