public abstract class AbstractHadoopJobConfig
extends distributed.core.DistributedJobConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_HOST
Default jobtracker host
|
static java.lang.String |
DEFAULT_PORT
Default jobtracker port
|
static java.lang.String |
DEFAULT_PORT_YARN
Default resource manager port under YARN
|
static java.lang.String |
JOBTRACKER_HOST
Key for job tracker host name
|
static java.lang.String |
JOBTRACKER_PORT
Key for job tracker port
|
Constructor and Description |
---|
AbstractHadoopJobConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJobTrackerHost()
Get the job tracker host name to use
|
java.lang.String |
getJobTrackerPort()
Get the port that the job tracker is running on
|
static boolean |
isHadoop2()
Returns true if we are running against Hadoop2/Yarn
|
java.lang.String |
jobTrackerHostTipText()
Get the tool tip text for this property
|
java.lang.String |
jobTrackerPortTipText()
Get the tool tip text for this property
|
void |
setJobTrackerHost(java.lang.String host)
Set the job tracker host name to use
|
void |
setJobTrackerPort(java.lang.String port)
Set the port that the job tracker is running on
|
public static final java.lang.String JOBTRACKER_HOST
public static final java.lang.String JOBTRACKER_PORT
public static final java.lang.String DEFAULT_HOST
public static final java.lang.String DEFAULT_PORT
public static final java.lang.String DEFAULT_PORT_YARN
public static boolean isHadoop2()
public java.lang.String jobTrackerHostTipText()
public void setJobTrackerHost(java.lang.String host)
host
- the name of the host the job tracker is running onpublic java.lang.String getJobTrackerHost()
public java.lang.String jobTrackerPortTipText()
public void setJobTrackerPort(java.lang.String port)
port
- the port that the job tracker is running onpublic java.lang.String getJobTrackerPort()