hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r707772 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java
Date Fri, 24 Oct 2008 22:47:54 GMT
Author: omalley
Date: Fri Oct 24 15:47:54 2008
New Revision: 707772

URL: http://svn.apache.org/viewvc?rev=707772&view=rev
Log:
HADOOP-4482. Make the JMX monitoring use predictable names for the 
datanodes to enable Nagios monitoring. (Brian Bockelman via omalley)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=707772&r1=707771&r2=707772&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Oct 24 15:47:54 2008
@@ -73,6 +73,9 @@
     HADOOP-4440.  TestJobInProgressListener tests for jobs killed in queued 
     state (Amar Kamat via ddas)
 
+    HADOOP-4482. Make the JMX monitoring use predictable names for the 
+    datanodes to enable Nagios monitoring. (Brian Bockelman via omalley)
+
 Release 0.19.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java?rev=707772&r1=707771&r2=707772&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/datanode/DataNode.java Fri Oct
24 15:47:54 2008
@@ -365,7 +365,7 @@
     this.infoServer.start();
     // adjust info port
     this.dnRegistration.setInfoPort(this.infoServer.getPort());
-    myMetrics = new DataNodeMetrics(conf, dnRegistration.getStorageID());
+    myMetrics = new DataNodeMetrics(conf, dnRegistration.getName());
     
     //init ipc server
     InetSocketAddress ipcAddr = NetUtils.createSocketAddr(



Mime
View raw message