public class RMHAServiceTarget
extends org.apache.hadoop.ha.HAServiceTarget
| Constructor and Description |
|---|
RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFencingConfigured() |
InetSocketAddress |
getAddress() |
org.apache.hadoop.ha.NodeFencer |
getFencer() |
InetSocketAddress |
getZKFCAddress() |
boolean |
isAutoFailoverEnabled() |
public RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
throws IOException
IOExceptionpublic InetSocketAddress getAddress()
getAddress in class org.apache.hadoop.ha.HAServiceTargetpublic InetSocketAddress getZKFCAddress()
getZKFCAddress in class org.apache.hadoop.ha.HAServiceTargetpublic org.apache.hadoop.ha.NodeFencer getFencer()
getFencer in class org.apache.hadoop.ha.HAServiceTargetpublic void checkFencingConfigured()
throws org.apache.hadoop.ha.BadFencingConfigurationException
checkFencingConfigured in class org.apache.hadoop.ha.HAServiceTargetorg.apache.hadoop.ha.BadFencingConfigurationExceptionpublic boolean isAutoFailoverEnabled()
isAutoFailoverEnabled in class org.apache.hadoop.ha.HAServiceTargetCopyright © 2015 Apache Software Foundation. All Rights Reserved.