Package 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.apache.hadoop.ha.NodeFencerbooleanMethods inherited from class org.apache.hadoop.ha.HAServiceTarget
addFencingParameters, getFencingParameters, getHealthMonitorAddress, getHealthMonitorProxy, getHealthMonitorProxy, getProxy, getTransitionTargetHAStatus, getZKFCProxy, setTransitionTargetHAStatus, supportObserver
-
Constructor Details
-
RMHAServiceTarget
- Throws:
IOException
-
-
Method Details
-
getAddress
- Specified by:
getAddressin classorg.apache.hadoop.ha.HAServiceTarget
-
getZKFCAddress
- Specified by:
getZKFCAddressin classorg.apache.hadoop.ha.HAServiceTarget
-
getFencer
public org.apache.hadoop.ha.NodeFencer getFencer()- Specified by:
getFencerin classorg.apache.hadoop.ha.HAServiceTarget
-
checkFencingConfigured
public void checkFencingConfigured() throws org.apache.hadoop.ha.BadFencingConfigurationException- Specified by:
checkFencingConfiguredin classorg.apache.hadoop.ha.HAServiceTarget- Throws:
org.apache.hadoop.ha.BadFencingConfigurationException
-
isAutoFailoverEnabled
public boolean isAutoFailoverEnabled()- Overrides:
isAutoFailoverEnabledin classorg.apache.hadoop.ha.HAServiceTarget
-