Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.3, 2.0.0-alpha
-
None
-
Reviewed
Description
The FenceMethod interface passes along the host:port of the NN that needs to be fenced. That's great for the common case. However, it's likely necessary to have extra configuration parameters for fencing, and these are typically keyed off the nameserviceId.namenodeId (if, for nothing else, consistency with all the other parameters that are keyed off of namespaceId.namenodeId). Obviously this can be backed out from the host:port, but it's inconvenient, and requires iterating through all the configs.
The shell interface exhibits the same issue: host:port is great for most fencers, but if you need extra configs (like the host:port of the power supply unit), those are harder to pipe through without the namenodeId.
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-8193 Refactor FailoverController/HAAdmin code to add an abstract class for "target" services
- Closed
- relates to
-
HADOOP-8007 HA: use substitution token for fencing argument
- Closed