Merge -r 1173455:1173456 from trunk to branch-0.23 to fix MAPREDUCE-2998.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1173457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-09-21 01:27:49 +00:00
parent 38a4915dab
commit be05e01471
2 changed files with 4 additions and 1 deletions

View File

@ -1343,6 +1343,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3036. Fixed metrics for reserved resources in CS. (Robert Evans MAPREDUCE-3036. Fixed metrics for reserved resources in CS. (Robert Evans
via acmurthy) via acmurthy)
MAPREDUCE-2998. Fixed a bug in TaskAttemptImpl which caused it to fork
bin/mapred too many times. (vinodkv via acmurthy)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -153,7 +153,7 @@ public abstract class TaskAttemptImpl implements
private Token<JobTokenIdentifier> jobToken; private Token<JobTokenIdentifier> jobToken;
private static AtomicBoolean initialClasspathFlag = new AtomicBoolean(); private static AtomicBoolean initialClasspathFlag = new AtomicBoolean();
private static String initialClasspath = null; private static String initialClasspath = null;
private final Object classpathLock = new Object(); private static final Object classpathLock = new Object();
private long launchTime; private long launchTime;
private long finishTime; private long finishTime;
private WrappedProgressSplitsBlock progressSplitBlock; private WrappedProgressSplitsBlock progressSplitBlock;