MAPREDUCE-5013. mapred.JobStatus compatibility: MR2 missing constructors from MR1. Contributed by Sandy Ryza.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1448602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7555b4df74
commit
87035a004c
@ -180,6 +180,9 @@ Release 2.0.4-beta - UNRELEASED
|
||||
MAPREDUCE-4846. Some JobQueueInfo methods are public in MR1 but protected
|
||||
in MR2. (Sandy Ryza via tomwhite)
|
||||
|
||||
MAPREDUCE-5013. mapred.JobStatus compatibility: MR2 missing constructors
|
||||
from MR1. (Sandy Ryza via tomwhite)
|
||||
|
||||
Release 2.0.3-alpha - 2013-02-06
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -77,6 +77,59 @@ static org.apache.hadoop.mapreduce.JobStatus.State getEnum(int state) {
|
||||
*/
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user