svn merge -c 1302645 from trunk to branch-0.23 FIXES MAPREDUCE-4025. AM can crash if task attempt reports bogus progress value (Jason Lowe via bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1302646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c7e5fbf91
commit
c02c9218d9
|
@ -108,6 +108,9 @@ Release 0.23.2 - UNRELEASED
|
||||||
MAPREDUCE-3954. Added new envs to separate heap size for different daemons
|
MAPREDUCE-3954. Added new envs to separate heap size for different daemons
|
||||||
started via bin scripts. (Robert Joseph Evans via vinodkv)
|
started via bin scripts. (Robert Joseph Evans via vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-4025. AM can crash if task attempt reports bogus progress value
|
||||||
|
(Jason Lowe via bobby)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
MAPREDUCE-3901. Modified JobHistory records in YARN to lazily load job and
|
MAPREDUCE-3901. Modified JobHistory records in YARN to lazily load job and
|
||||||
|
|
|
@ -1030,6 +1030,7 @@ public abstract class TaskAttemptImpl implements
|
||||||
|
|
||||||
private void updateProgressSplits() {
|
private void updateProgressSplits() {
|
||||||
double newProgress = reportedStatus.progress;
|
double newProgress = reportedStatus.progress;
|
||||||
|
newProgress = Math.max(Math.min(newProgress, 1.0D), 0.0D);
|
||||||
Counters counters = reportedStatus.counters;
|
Counters counters = reportedStatus.counters;
|
||||||
if (counters == null)
|
if (counters == null)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue