public class RMHAServiceTarget extends HAServiceTarget
| Constructor and Description |
|---|
RMHAServiceTarget(YarnConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFencingConfigured() |
InetSocketAddress |
getAddress() |
NodeFencer |
getFencer() |
InetSocketAddress |
getZKFCAddress() |
boolean |
isAutoFailoverEnabled() |
addFencingParameters, getFencingParameters, getProxy, getZKFCProxypublic RMHAServiceTarget(YarnConfiguration conf) throws IOException
IOExceptionpublic InetSocketAddress getAddress()
getAddress in class HAServiceTargetpublic InetSocketAddress getZKFCAddress()
getZKFCAddress in class HAServiceTargetpublic NodeFencer getFencer()
getFencer in class HAServiceTargetpublic void checkFencingConfigured()
throws BadFencingConfigurationException
checkFencingConfigured in class HAServiceTargetBadFencingConfigurationExceptionpublic boolean isAutoFailoverEnabled()
isAutoFailoverEnabled in class HAServiceTargetCopyright © 2018 CERN. All Rights Reserved.