MAPREDUCE-4356. [Rumen] Provide access to the method ParsedTask.obtainTaskAttempts(). (ravigummadi via tgraves)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1461277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2013-03-26 19:26:36 +00:00
parent 291a20960b
commit 922c8ff997
2 changed files with 7 additions and 1 deletions

View File

@ -101,6 +101,9 @@ Release 2.0.5-beta - UNRELEASED
MAPREDUCE-4100. [Gridmix] Bug fixed in compression emulation feature for
map only jobs. (amarrk via tgraves)
MAPREDUCE-4356. [Rumen] Provide access to the method
ParsedTask.obtainTaskAttempts(). (ravigummadi via tgraves)
Release 2.0.4-alpha - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -91,7 +91,10 @@ public class ParsedTask extends LoggedTask {
return failedDueToAttempt;
}
List<ParsedTaskAttempt> obtainTaskAttempts() {
/**
* @return the list of attempts of this task.
*/
public List<ParsedTaskAttempt> obtainTaskAttempts() {
List<LoggedTaskAttempt> attempts = getAttempts();
return convertTaskAttempts(attempts);
}