hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1124576 - in /hadoop/hdfs/trunk: CHANGES.txt src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java
Date Thu, 19 May 2011 07:50:28 GMT
Author: suresh
Date: Thu May 19 07:50:28 2011
New Revision: 1124576

URL: http://svn.apache.org/viewvc?rev=1124576&view=rev
Log:
HDFS-1953. Federation: Change name node mxbean name in cluster web console. Contributed by
Tanping Wang.


Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=1124576&r1=1124575&r2=1124576&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Thu May 19 07:50:28 2011
@@ -599,6 +599,9 @@ Trunk (unreleased changes)
     HDFS-1927. Fix a bug which causes ip=null in NameNode audit log.
     (John George via szetszwo)
 
+    HDFS-1953. Federation: Change name node mxbean name in cluster web 
+    console. (Tanping Wang via suresh)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java?rev=1124576&r1=1124575&r2=1124576&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java
(original)
+++ hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ClusterJspHelper.java
Thu May 19 07:50:28 2011
@@ -291,7 +291,8 @@ class ClusterJspHelper {
       // Get an MBeanServerConnection on the remote VM.
       MBeanServerConnection remote = connector.getMBeanServerConnection();
       ObjectName mxbeanName = new ObjectName(
-          "HadoopInfo:type=NameNodeInfo");
+          "Hadoop:service=NameNode,name=NameNodeInfo");
+
       return JMX.newMXBeanProxy(remote, mxbeanName, NameNodeMXBean.class);
     }
     



Mime
View raw message