hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acmur...@apache.org
Subject svn commit: r1128026 - /hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
Date Thu, 26 May 2011 18:39:00 GMT
Author: acmurthy
Date: Thu May 26 18:39:00 2011
New Revision: 1128026

URL: http://svn.apache.org/viewvc?rev=1128026&view=rev
Log:
Changing tracker names to unblock gridmix3 for now.

Modified:
    hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java

Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java?rev=1128026&r1=1128025&r2=1128026&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
(original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
Thu May 26 18:39:00 2011
@@ -368,8 +368,10 @@ public class TypeConverter {
     throw new YarnException("Unrecognized application state: " + state);
   }
 
+  private static final String TT_NAME_PREFIX = "tracker_";
   public static TaskTrackerInfo fromYarn(NodeManagerInfo node) {
-    TaskTrackerInfo taskTracker = new TaskTrackerInfo(node.getNodeAddress());
+    TaskTrackerInfo taskTracker = 
+      new TaskTrackerInfo(TT_NAME_PREFIX + node.getNodeAddress());
     return taskTracker;
   }
 



Mime
View raw message