public abstract class JobUtils
extends java.lang.Object
Jobs.
Mainly used for converting a Job instance to different types.| Modifier and Type | Class and Description |
|---|---|
static class |
JobUtils.JobStatus
Status of a job.
|
| Constructor and Description |
|---|
JobUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.mapred.JobConf |
getJobConf(org.apache.hadoop.mapreduce.Job job) |
static org.apache.hadoop.mapreduce.JobID |
getJobId(org.apache.hadoop.mapreduce.Job job) |
static org.apache.hadoop.mapred.JobID |
getOldJobId(org.apache.hadoop.mapreduce.Job job) |
static org.apache.hadoop.mapred.RunningJob |
getRunningJob(org.apache.hadoop.mapreduce.Job job) |
static JobUtils.JobStatus |
getStatus(org.apache.hadoop.mapreduce.Job job)
Returns the status of the given job.
|
public static org.apache.hadoop.mapred.RunningJob getRunningJob(org.apache.hadoop.mapreduce.Job job)
public static org.apache.hadoop.mapreduce.JobID getJobId(org.apache.hadoop.mapreduce.Job job)
public static org.apache.hadoop.mapred.JobID getOldJobId(org.apache.hadoop.mapreduce.Job job)
public static org.apache.hadoop.mapred.JobConf getJobConf(org.apache.hadoop.mapreduce.Job job)
public static JobUtils.JobStatus getStatus(org.apache.hadoop.mapreduce.Job job)
job - the job