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 Details

    • RMHAServiceTarget

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

    • 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