- isHAEnabled
Returns true if HA for namenode is configured for the given nameservice
- cloneDelegationTokenForLogicalUri
Locate a delegation token associated with the given HA cluster URI, and if one
is found, clone it to
- getProxiesForAllNameNodesInNameservice
Get an RPC proxy for each NN in an HA nameservice. Used when a given RPC call
should be made on ever
- isAtLeastOneActive
Used to ensure that at least one of the given HA NNs is currently in the active
state..
- useLogicalUri
Check whether logical URI is needed for the namenode and the corresponding
failover proxy provider i
- buildTokenServiceForLogicalUri
Get the service name used in the delegation token for the given logical HA
service.
- getAddressOfActive
Get the internet address of the currently-active NN. This should rarely be used,
since callers of th
- getNameNodeId
Get the namenode Id by matching the addressKeywith the the address of the local
node. If DFSConfigKe
- isTokenForLogicalUri
- shouldAllowStandbyReads
This is used only by tests at the moment.
- usesSharedEditsDir
Returns true if HA is using a shared edits directory.
- getConfForOtherNode
Given the configuration for this node, return a Configuration object for the
other node in an HA set