hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgra...@apache.org
Subject svn commit: r1461277 - /hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
Date Tue, 26 Mar 2013 19:26:36 GMT
Author: tgraves
Date: Tue Mar 26 19:26:36 2013
New Revision: 1461277

URL: http://svn.apache.org/r1461277
Log:
MAPREDUCE-4356. [Rumen] Provide access to the method ParsedTask.obtainTaskAttempts(). (ravigummadi
via tgraves)

Modified:
    hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java

Modified: hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java?rev=1461277&r1=1461276&r2=1461277&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
(original)
+++ hadoop/common/branches/branch-2/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
Tue Mar 26 19:26:36 2013
@@ -91,7 +91,10 @@ public class ParsedTask extends LoggedTa
     return failedDueToAttempt;
   }
 
-  List<ParsedTaskAttempt> obtainTaskAttempts() {
+  /**
+   * @return the list of attempts of this task.
+   */
+  public List<ParsedTaskAttempt> obtainTaskAttempts() {
     List<LoggedTaskAttempt> attempts = getAttempts();
     return convertTaskAttempts(attempts);
   }



Mime
View raw message