MAPREDUCE-3757. [Rumen] Fixed Rumen Folder to adjust shuffleFinished and sortFinished times when needed. (Ravi Gummadi via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1461296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
257b263802
commit
0f66ba0b50
|
@ -107,6 +107,9 @@ Release 2.0.5-beta - UNRELEASED
|
|||
MAPREDUCE-4149. [Rumen] Rumen fails to parse certain counter
|
||||
strings. (ravigummadi via tgraves)
|
||||
|
||||
MAPREDUCE-3757. [Rumen] Fixed Rumen Folder to adjust shuffleFinished and
|
||||
sortFinished times when needed. (Ravi Gummadi via tgraves)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -275,6 +275,12 @@ public class LoggedTaskAttempt implements DeepCompare {
|
|||
void adjustTimes(long adjustment) {
|
||||
startTime += adjustment;
|
||||
finishTime += adjustment;
|
||||
|
||||
// For reduce attempts, adjust the different phases' finish times also
|
||||
if (sortFinished >= 0) {
|
||||
shuffleFinished += adjustment;
|
||||
sortFinished += adjustment;
|
||||
}
|
||||
}
|
||||
|
||||
public long getShuffleFinished() {
|
||||
|
|
|
@ -80,8 +80,8 @@ public class ParsedHost {
|
|||
public ParsedHost(LoggedLocation loc) {
|
||||
List<NodeName> coordinates = loc.getLayers();
|
||||
|
||||
rackName = coordinates.get(0).getRackName();
|
||||
nodeName = coordinates.get(1).getHostName();
|
||||
rackName = process(coordinates.get(0).getRackName());
|
||||
nodeName = process(coordinates.get(1).getHostName());
|
||||
}
|
||||
|
||||
LoggedLocation makeLoggedLocation() {
|
||||
|
|
Loading…
Reference in New Issue