org.apache.hadoop.yarn.client
Class RMHAServiceTarget

java.lang.Object
  extended by org.apache.hadoop.ha.HAServiceTarget
      extended by 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)
           
 
Method Summary
 void checkFencingConfigured()
           
 InetSocketAddress getAddress()
           
 org.apache.hadoop.ha.NodeFencer getFencer()
           
 InetSocketAddress getZKFCAddress()
           
 boolean isAutoFailoverEnabled()
           
 
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
 

Constructor Detail

RMHAServiceTarget

public RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
                  throws IOException
Throws:
IOException
Method Detail

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.