public class RMHAServiceTarget
extends org.apache.hadoop.ha.HAServiceTarget
| Constructor | Description |
|---|---|
RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkFencingConfigured() |
|
java.net.InetSocketAddress |
getAddress() |
|
org.apache.hadoop.ha.NodeFencer |
getFencer() |
|
java.net.InetSocketAddress |
getZKFCAddress() |
|
boolean |
isAutoFailoverEnabled() |
public RMHAServiceTarget(org.apache.hadoop.yarn.conf.YarnConfiguration conf)
throws java.io.IOException
java.io.IOExceptionpublic java.net.InetSocketAddress getAddress()
getAddress in class org.apache.hadoop.ha.HAServiceTargetpublic java.net.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 © 2008–2025 Apache Software Foundation. All rights reserved.