hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yhema...@apache.org
Subject svn commit: r732323 - in /hadoop/core/trunk/src/contrib/hod: CHANGES.txt hodlib/Hod/hadoop.py
Date Wed, 07 Jan 2009 12:53:16 GMT
Author: yhemanth
Date: Wed Jan  7 04:53:14 2009
New Revision: 732323

URL: http://svn.apache.org/viewvc?rev=732323&view=rev
Log:
HADOOP-4937. Include ringmaster RPC port in the notes attribute. Contributed by Peeyush Bishnoi.

Modified:
    hadoop/core/trunk/src/contrib/hod/CHANGES.txt
    hadoop/core/trunk/src/contrib/hod/hodlib/Hod/hadoop.py

Modified: hadoop/core/trunk/src/contrib/hod/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/CHANGES.txt?rev=732323&r1=732322&r2=732323&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/CHANGES.txt (original)
+++ hadoop/core/trunk/src/contrib/hod/CHANGES.txt Wed Jan  7 04:53:14 2009
@@ -23,6 +23,9 @@
     HADOOP-4705. Grant read permissions for files/directories
     created by HOD. (Peeyush Bishnoi via yhemanth)
 
+    HADOOP-4937. Include ringmaster RPC port in the notes
+    attribute. (Peeyush Bishnoi via yhemanth)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/core/trunk/src/contrib/hod/hodlib/Hod/hadoop.py
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/hodlib/Hod/hadoop.py?rev=732323&r1=732322&r2=732323&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/hodlib/Hod/hadoop.py (original)
+++ hadoop/core/trunk/src/contrib/hod/hodlib/Hod/hadoop.py Wed Jan  7 04:53:14 2009
@@ -564,6 +564,8 @@
                     workerInfoMap = {}
                     workerInfoMap['HDFS UI'] = 'http://%s' % self.hdfsInfo
                     workerInfoMap['Mapred UI'] = 'http://%s' % self.mapredInfo
+                    # Ringmaster URL sample format : http://hostname:port/
+                    workerInfoMap['RM RPC Port'] = '%s' % self.ringmasterXRS.split(":")[2].strip("/")
                     if mapredAddr.find(':') != -1:
                       workerInfoMap['Mapred RPC Port'] = mapredAddr.split(':')[1]
                     ret = self.__nodePool.updateWorkerInfo(workerInfoMap, self.jobId)



Mime
View raw message