|
@@ -77,6 +77,59 @@ public class JobStatus extends org.apache.hadoop.mapreduce.JobStatus {
|
|
|
*/
|
|
|
public JobStatus() {
|
|
|
}
|
|
|
+
|
|
|
+ @Deprecated
|
|
|
+ public JobStatus(JobID jobid, float mapProgress, float reduceProgress,
|
|
|
+ float cleanupProgress, int runState) {
|
|
|
+ this(jobid, mapProgress, reduceProgress, cleanupProgress, runState, null,
|
|
|
+ null, null, null);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a job status object for a given jobid.
|
|
|
+ * @param jobid The jobid of the job
|
|
|
+ * @param mapProgress The progress made on the maps
|
|
|
+ * @param reduceProgress The progress made on the reduces
|
|
|
+ * @param runState The current state of the job
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
+ public JobStatus(JobID jobid, float mapProgress, float reduceProgress,
|
|
|
+ int runState) {
|
|
|
+ this (jobid, mapProgress, reduceProgress, runState, null, null, null, null);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a job status object for a given jobid.
|
|
|
+ * @param jobid The jobid of the job
|
|
|
+ * @param mapProgress The progress made on the maps
|
|
|
+ * @param reduceProgress The progress made on the reduces
|
|
|
+ * @param runState The current state of the job
|
|
|
+ * @param jp Priority of the job.
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
+ public JobStatus(JobID jobid, float mapProgress, float reduceProgress,
|
|
|
+ float cleanupProgress, int runState, JobPriority jp) {
|
|
|
+ this(jobid, mapProgress, reduceProgress, cleanupProgress, runState, jp,
|
|
|
+ null, null, null, null);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a job status object for a given jobid.
|
|
|
+ * @param jobid The jobid of the job
|
|
|
+ * @param setupProgress The progress made on the setup
|
|
|
+ * @param mapProgress The progress made on the maps
|
|
|
+ * @param reduceProgress The progress made on the reduces
|
|
|
+ * @param cleanupProgress The progress made on the cleanup
|
|
|
+ * @param runState The current state of the job
|
|
|
+ * @param jp Priority of the job.
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
+ public JobStatus(JobID jobid, float setupProgress, float mapProgress,
|
|
|
+ float reduceProgress, float cleanupProgress,
|
|
|
+ int runState, JobPriority jp) {
|
|
|
+ this(jobid, setupProgress, mapProgress, reduceProgress, cleanupProgress,
|
|
|
+ runState, jp, null, null, null, null);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* Create a job status object for a given jobid.
|