MAPREDUCE-5244. Two functions changed their visibility in JobStatus. (zjshen via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1482622 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5a6e764dc
commit
3472800eb6
|
@ -416,6 +416,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||||
MAPREDUCE-5240. Fix a bug in MRAppMaster because of which OutputCommitter
|
MAPREDUCE-5240. Fix a bug in MRAppMaster because of which OutputCommitter
|
||||||
could not access credentials set by the user. (vinodkv)
|
could not access credentials set by the user. (vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-5244. Two functions changed their visibility in JobStatus.
|
||||||
|
(zjshen via tucu)
|
||||||
|
|
||||||
Release 2.0.4-alpha - 2013-04-25
|
Release 2.0.4-alpha - 2013-04-25
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -381,8 +381,14 @@ public class JobStatus extends org.apache.hadoop.mapreduce.JobStatus {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change the current run state of the job.
|
* Change the current run state of the job.
|
||||||
|
*
|
||||||
|
* The setter is public to be compatible with M/R 1.x, however, it should be
|
||||||
|
* used internally.
|
||||||
|
*
|
||||||
|
* @param state the state of the job
|
||||||
*/
|
*/
|
||||||
protected synchronized void setRunState(int state) {
|
@InterfaceAudience.Private
|
||||||
|
public synchronized void setRunState(int state) {
|
||||||
super.setState(getEnum(state));
|
super.setState(getEnum(state));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -410,9 +416,13 @@ public class JobStatus extends org.apache.hadoop.mapreduce.JobStatus {
|
||||||
/**
|
/**
|
||||||
* Used to set the scheduling information associated to a particular Job.
|
* Used to set the scheduling information associated to a particular Job.
|
||||||
*
|
*
|
||||||
|
* The setter is public to be compatible with M/R 1.x, however, it should be
|
||||||
|
* used internally.
|
||||||
|
*
|
||||||
* @param schedulingInfo Scheduling information of the job
|
* @param schedulingInfo Scheduling information of the job
|
||||||
*/
|
*/
|
||||||
protected synchronized void setSchedulingInfo(String schedulingInfo) {
|
@InterfaceAudience.Private
|
||||||
|
public synchronized void setSchedulingInfo(String schedulingInfo) {
|
||||||
super.setSchedulingInfo(schedulingInfo);
|
super.setSchedulingInfo(schedulingInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue