public class JobTrackerHAServiceTarget
extends org.apache.hadoop.ha.HAServiceTarget
| Constructor and Description |
|---|
JobTrackerHAServiceTarget(org.apache.hadoop.conf.Configuration conf) |
JobTrackerHAServiceTarget(org.apache.hadoop.conf.Configuration conf,
String jtId) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFencingConfigured() |
InetSocketAddress |
getAddress() |
org.apache.hadoop.ha.NodeFencer |
getFencer() |
String |
getJobTrackerId() |
String |
getLogicalName() |
InetSocketAddress |
getZKFCAddress() |
boolean |
isAutoFailoverEnabled() |
void |
setZkfcPort(int port) |
String |
toString() |
public JobTrackerHAServiceTarget(org.apache.hadoop.conf.Configuration conf)
public JobTrackerHAServiceTarget(org.apache.hadoop.conf.Configuration conf,
String jtId)
public void checkFencingConfigured()
throws org.apache.hadoop.ha.BadFencingConfigurationException
checkFencingConfigured in class org.apache.hadoop.ha.HAServiceTargetorg.apache.hadoop.ha.BadFencingConfigurationExceptionpublic InetSocketAddress getAddress()
getAddress in class org.apache.hadoop.ha.HAServiceTargetpublic org.apache.hadoop.ha.NodeFencer getFencer()
getFencer in class org.apache.hadoop.ha.HAServiceTargetpublic InetSocketAddress getZKFCAddress()
getZKFCAddress in class org.apache.hadoop.ha.HAServiceTargetpublic void setZkfcPort(int port)
public boolean isAutoFailoverEnabled()
isAutoFailoverEnabled in class org.apache.hadoop.ha.HAServiceTargetpublic String getLogicalName()
public String getJobTrackerId()
Copyright © 2009 The Apache Software Foundation