hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravigumm...@apache.org
Subject svn commit: r1352415 - /hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
Date Thu, 21 Jun 2012 05:44:21 GMT
Author: ravigummadi
Date: Thu Jun 21 05:44:20 2012
New Revision: 1352415

URL: http://svn.apache.org/viewvc?rev=1352415&view=rev
Log:
MAPREDUCE-4356. [Rumen] Provide access to the method ParsedTask.obtainTaskAttempts(). (ravigummadi)

Modified:
    hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java

Modified: hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java?rev=1352415&r1=1352414&r2=1352415&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
(original)
+++ hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ParsedTask.java
Thu Jun 21 05:44:20 2012
@@ -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