org.apache.hadoop.yarn.client
Class RMHAServiceTarget
java.lang.Object
org.apache.hadoop.ha.HAServiceTarget
org.apache.hadoop.yarn.client.RMHAServiceTarget
public class RMHAServiceTarget
- extends org.apache.hadoop.ha.HAServiceTarget
|
Constructor Summary |
RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
|
| Methods inherited from class org.apache.hadoop.ha.HAServiceTarget |
addFencingParameters, getFencingParameters, getProxy, getZKFCProxy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMHAServiceTarget
public RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
throws IOException
- Throws:
IOException
getAddress
public InetSocketAddress getAddress()
- Specified by:
getAddress in class org.apache.hadoop.ha.HAServiceTarget
getZKFCAddress
public InetSocketAddress getZKFCAddress()
- Specified by:
getZKFCAddress in class org.apache.hadoop.ha.HAServiceTarget
getFencer
public org.apache.hadoop.ha.NodeFencer getFencer()
- Specified by:
getFencer in class org.apache.hadoop.ha.HAServiceTarget
checkFencingConfigured
public void checkFencingConfigured()
throws org.apache.hadoop.ha.BadFencingConfigurationException
- Specified by:
checkFencingConfigured in class org.apache.hadoop.ha.HAServiceTarget
- Throws:
org.apache.hadoop.ha.BadFencingConfigurationException
isAutoFailoverEnabled
public boolean isAutoFailoverEnabled()
- Overrides:
isAutoFailoverEnabled in class org.apache.hadoop.ha.HAServiceTarget
Copyright © 2014 Apache Software Foundation. All Rights Reserved.