hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1482142 - in /hadoop/common/trunk/hadoop-mapreduce-project: CHANGES.txt hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java
Date Mon, 13 May 2013 23:08:10 GMT
Author: tucu
Date: Mon May 13 23:08:10 2013
New Revision: 1482142

URL: http://svn.apache.org/r1482142
Log:
MAPREDUCE-5220. Setter methods in TaskCompletionEvent are public in MR1 and protected in MR2.
(sandyr via tucu)

Modified:
    hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
    hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java

Modified: hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt?rev=1482142&r1=1482141&r2=1482142&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt Mon May 13 23:08:10 2013
@@ -407,6 +407,9 @@ Release 2.0.5-beta - UNRELEASED
     MAPREDUCE-5208. Modified ShuffleHandler to use SecureIOUtils for reading
     local files. (Omkar Vinit Joshi via vinodkv)
 
+    MAPREDUCE-5220. Setter methods in TaskCompletionEvent are public in MR1 and 
+    protected in MR2. (sandyr via tucu)
+
 Release 2.0.4-alpha - 2013-04-25
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java?rev=1482142&r1=1482141&r2=1482142&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/TaskCompletionEvent.java
Mon May 13 23:08:10 2013
@@ -19,6 +19,7 @@
 package org.apache.hadoop.mapred;
 
 import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceAudience.Private;
 import org.apache.hadoop.classification.InterfaceStability;
 
 /**
@@ -117,7 +118,8 @@ public class TaskCompletionEvent 
    * Set task status. 
    * @param status
    */
-  protected void setTaskStatus(Status status) {
+  @Private
+  public void setTaskStatus(Status status) {
     super.setTaskStatus(org.apache.hadoop.mapreduce.
       TaskCompletionEvent.Status.valueOf(status.name()));
   }
@@ -126,7 +128,8 @@ public class TaskCompletionEvent 
    * Set the task completion time
    * @param taskCompletionTime time (in millisec) the task took to complete
    */
-  protected void setTaskRunTime(int taskCompletionTime) {
+  @Private
+  public void setTaskRunTime(int taskCompletionTime) {
     super.setTaskRunTime(taskCompletionTime);
   }
 
@@ -134,7 +137,8 @@ public class TaskCompletionEvent 
    * set event Id. should be assigned incrementally starting from 0. 
    * @param eventId
    */
-  protected void setEventId(int eventId) {
+  @Private
+  public void setEventId(int eventId) {
     super.setEventId(eventId);
   }
 
@@ -142,7 +146,8 @@ public class TaskCompletionEvent 
    * Set task tracker http location. 
    * @param taskTrackerHttp
    */
-  protected void setTaskTrackerHttp(String taskTrackerHttp) {
+  @Private
+  public void setTaskTrackerHttp(String taskTrackerHttp) {
     super.setTaskTrackerHttp(taskTrackerHttp);
   }
 }



Mime
View raw message