hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r612191 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/TaskTracker.java
Date Tue, 15 Jan 2008 19:01:00 GMT
Author: shv
Date: Tue Jan 15 11:00:57 2008
New Revision: 612191

URL: http://svn.apache.org/viewvc?rev=612191&view=rev
Log:
HADOOP-2605. Remove bogus slash in task-tracker report bindAddress. Contributed by Konstantin
Shvachko

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=612191&r1=612190&r2=612191&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Jan 15 11:00:57 2008
@@ -454,6 +454,9 @@
     HADOOP-2494.  Set +x on contrib/*/bin/* in packaged tar bundle.
     (stack via tomwhite)
 
+    HADOOP-2605. Remove bogus leading slash in task-tracker report bindAddress.
+    (Konstantin Shvachko)
+
 Release 0.15.3 - (unreleased changes)
 
   BUG FIXES

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?rev=612191&r1=612190&r2=612191&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Tue Jan 15 11:00:57
2008
@@ -431,7 +431,7 @@
     // get the assigned address
     this.taskReportAddress = taskReportServer.getListenerAddress();
     this.fConf.set("mapred.task.tracker.report.bindAddress",
-                   taskReportAddress.toString());
+        taskReportAddress.getHostName() + ":" + taskReportAddress.getPort());
     LOG.info("TaskTracker up at: " + this.taskReportAddress);
 
     this.taskTrackerName = "tracker_" + localHostname + ":" + taskReportAddress;



Mime
View raw message