org.springframework.data.hadoop.mapreduce
Class JobUtils
java.lang.Object
org.springframework.data.hadoop.mapreduce.JobUtils
public abstract class JobUtils
- extends Object
Utilities around Hadoop Job
s.
Mainly used for converting a Job instance to different types.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobUtils
public JobUtils()
getRunningJob
public static RunningJob getRunningJob(Job job)
getJobId
public static JobID getJobId(Job job)
getOldJobId
public static JobID getOldJobId(Job job)
getJobConf
public static JobConf getJobConf(Job job)
getStatus
public static JobUtils.JobStatus getStatus(Job job)
- Returns the status of the given job. May return null indicating accessing the job
caused exceptions.
- Parameters:
job
-
- Returns:
- the job status