ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-3998 - Add jvm/HeapMemoryMax to RESOURCEMANAGER
Date Fri, 06 Dec 2013 00:44:36 GMT
Updated Branches:
  refs/heads/trunk b2bbf8648 -> fa54ce2a5


AMBARI-3998 - Add jvm/HeapMemoryMax to RESOURCEMANAGER


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fa54ce2a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fa54ce2a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fa54ce2a

Branch: refs/heads/trunk
Commit: fa54ce2a5c006dd97e3b1a89252a9bfa858a60fa
Parents: b2bbf86
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Thu Dec 5 19:34:24 2013 -0500
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Thu Dec 5 19:44:15 2013 -0500

----------------------------------------------------------------------
 .../src/main/resources/jmx_properties_2.json    | 40 ++++++++++++
 .../stacks/HDP/2.0.6/services/HDFS/metrics.json | 36 +++++------
 .../stacks/HDP/2.0.6/services/YARN/metrics.json | 40 ++++++++++++
 .../stacks/HDP/2.0._/services/YARN/metrics.json | 40 ++++++++++++
 .../controller/jmx/JMXPropertyProviderTest.java |  2 +
 .../stacks/HDP/2.0.5/services/HDFS/metrics.json | 64 ++++++++++----------
 6 files changed, 172 insertions(+), 50 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/main/resources/jmx_properties_2.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/jmx_properties_2.json b/ambari-server/src/main/resources/jmx_properties_2.json
index ba586ce..b000e8b 100644
--- a/ambari-server/src/main/resources/jmx_properties_2.json
+++ b/ambari-server/src/main/resources/jmx_properties_2.json
@@ -145,6 +145,26 @@
         "pointInTime" : true,
         "temporal" : false
       },
+      "metrics/jvm/HeapMemoryMax":{
+        "metric" : "java.lang:type=Memory.HeapMemoryUsage[max]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/HeapMemoryUsed":{
+        "metric" : "java.lang:type=Memory.HeapMemoryUsage[used]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/NonHeapMemoryMax":{
+        "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/NonHeapMemoryUsed":{
+        "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
       "metrics/jvm/gcCount":{
         "metric" : "Hadoop:service=ResourceManager,name=JvmMetrics.GcCount",
         "pointInTime" : true,
@@ -2105,6 +2125,26 @@
       }      
     },  
     "RESOURCEMANAGER": {
+      "metrics/jvm/HeapMemoryMax":{
+        "metric" : "java.lang:type=Memory.HeapMemoryUsage[max]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/HeapMemoryUsed":{
+        "metric" : "java.lang:type=Memory.HeapMemoryUsage[used]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/NonHeapMemoryMax":{
+        "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
+      "metrics/jvm/NonHeapMemoryUsed":{
+        "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+        "pointInTime" : true,
+        "temporal" : false
+      },
       "metrics/jvm/gcCount":{
         "metric" : "Hadoop:service=ResourceManager,name=JvmMetrics.GcCount",
         "pointInTime" : true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metrics.json
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metrics.json
index 2e70925..f33a0c0 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metrics.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/metrics.json
@@ -740,7 +740,7 @@
             "temporal": false
           },
           "metrics/jvm/memMaxM":{
-            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemMaxM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemMaxM",
             "pointInTime" : true,
             "temporal" : false
           },
@@ -820,7 +820,7 @@
             "temporal": false
           },
           "metrics/jvm/memNonHeapUsedM": {
-            "metric": "Hadoop:service=NameNode,name=jvm.memNonHeapUsedM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapUsedM",
             "pointInTime": true,
             "temporal": false
           },
@@ -855,7 +855,7 @@
             "temporal": false
           },
           "metrics/jvm/threadsBlocked": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsBlocked",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsBlocked",
             "pointInTime": true,
             "temporal": false
           },
@@ -940,7 +940,7 @@
             "temporal": false
           },
           "metrics/jvm/memNonHeapCommittedM": {
-            "metric": "Hadoop:service=NameNode,name=jvm.memNonHeapCommittedM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapCommittedM",
             "pointInTime": true,
             "temporal": false
           },
@@ -1050,7 +1050,7 @@
             "temporal": false
           },
           "metrics/jvm/memHeapCommittedM": {
-            "metric": "Hadoop:service=NameNode,name=jvm.memHeapCommittedM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemHeapCommittedM",
             "pointInTime": true,
             "temporal": false
           },
@@ -1060,7 +1060,7 @@
             "temporal": false
           },
           "metrics/jvm/threadsRunnable": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsRunnable",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsRunnable",
             "pointInTime": true,
             "temporal": false
           },
@@ -1085,7 +1085,7 @@
             "temporal": false
           },
           "metrics/jvm/threadsNew": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsNew",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsNew",
             "pointInTime": true,
             "temporal": false
           },
@@ -1150,7 +1150,7 @@
             "temporal": false
           },
           "metrics/jvm/logWarn": {
-            "metric": "Hadoop:service=NameNode,name=jvm.logWarn",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.LogWarn",
             "pointInTime": true,
             "temporal": false
           },
@@ -1160,12 +1160,12 @@
             "temporal": false
           },
           "metrics/jvm/threadsTimedWaiting": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsTimedWaiting",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTimedWaiting",
             "pointInTime": true,
             "temporal": false
           },
           "metrics/jvm/gcCount": {
-            "metric": "Hadoop:service=NameNode,name=jvm.gcCount",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.GcCount",
             "pointInTime": true,
             "temporal": false
           },
@@ -1200,7 +1200,7 @@
             "temporal": false
           },
           "metrics/jvm/memHeapUsedM": {
-            "metric": "Hadoop:service=NameNode,name=jvm.memHeapUsedM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemHeapUsedM",
             "pointInTime": true,
             "temporal": false
           },
@@ -1210,7 +1210,7 @@
             "temporal": false
           },
           "metrics/jvm/threadsWaiting": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsWaiting",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsWaiting",
             "pointInTime": true,
             "temporal": false
           },
@@ -1220,7 +1220,7 @@
             "temporal": false
           },
           "metrics/jvm/gcTimeMillis": {
-            "metric": "Hadoop:service=NameNode,name=jvm.gcTimeMillis",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.GcTimeMillis",
             "pointInTime": true,
             "temporal": false
           },
@@ -1245,7 +1245,7 @@
             "temporal": false
           },
           "metrics/jvm/threadsTerminated": {
-            "metric": "Hadoop:service=NameNode,name=jvm.threadsTerminated",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTerminated",
             "pointInTime": true,
             "temporal": false
           },
@@ -1290,7 +1290,7 @@
             "temporal": false
           },
           "metrics/jvm/logInfo": {
-            "metric": "Hadoop:service=NameNode,name=jvm.logInfo",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.LogInfo",
             "pointInTime": true,
             "temporal": false
           },
@@ -1340,7 +1340,7 @@
             "temporal": false
           },
           "metrics/jvm/logError": {
-            "metric": "Hadoop:service=NameNode,name=jvm.logError",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.LogError",
             "pointInTime": true,
             "temporal": false
           },
@@ -1370,7 +1370,7 @@
             "temporal": false
           },
           "metrics/jvm/logFatal": {
-            "metric": "Hadoop:service=NameNode,name=jvm.logFatal",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.LogFatal",
             "pointInTime": true,
             "temporal": false
           },
@@ -2137,7 +2137,7 @@
             "temporal": false
           },
           "metrics/jvm/memMaxM":{
-            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemMaxM",
+            "metric": "Hadoop:service=NameNode,name=JvmMetrics.MemMaxM",
             "pointInTime" : true,
             "temporal" : false
           },

http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
index 272ac41..a60ab40 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
@@ -1450,6 +1450,26 @@
             "pointInTime": true,
             "temporal": false
           },
+          "metrics/jvm/HeapMemoryMax":{
+            "metric" : "java.lang:type=Memory.HeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/HeapMemoryUsed":{
+            "metric" : "java.lang:type=Memory.HeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryMax":{
+            "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryUsed":{
+            "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
           "metrics/jvm/memNonHeapUsedM": {
             "metric": "Hadoop:service=ResourceManager,name=JvmMetrics.MemNonHeapUsedM",
             "pointInTime": true,
@@ -2287,6 +2307,26 @@
             "pointInTime": true,
             "temporal": false
           },
+          "metrics/jvm/HeapMemoryMax":{
+            "metric" : "java.lang:type=Memory.HeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/HeapMemoryUsed":{
+            "metric" : "java.lang:type=Memory.HeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryMax":{
+            "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryUsed":{
+            "metric" : "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
           "metrics/jvm/threadsBlocked": {
             "metric": "Hadoop:service=ResourceManager,name=JvmMetrics.ThreadsBlocked",
             "pointInTime": true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/metrics.json
b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/metrics.json
index ac86fc2..68efe9f 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/metrics.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/YARN/metrics.json
@@ -1370,6 +1370,26 @@
             "pointInTime": true,
             "temporal": false
           },
+          "metrics/jvm/HeapMemoryMax":{
+            "metric": "java.lang:type=Memory.HeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/HeapMemoryUsed":{
+            "metric": "java.lang:type=Memory.HeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryMax":{
+            "metric": "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryUsed":{
+            "metric": "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
           "metrics/jvm/threadsRunnable": {
             "metric": "Hadoop:service=ResourceManager,name=JvmMetrics.ThreadsRunnable",
             "pointInTime": true,
@@ -2262,6 +2282,26 @@
             "pointInTime": true,
             "temporal": false
           },
+          "metrics/jvm/HeapMemoryMax":{
+            "metric": "java.lang:type=Memory.HeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/HeapMemoryUsed":{
+            "metric": "java.lang:type=Memory.HeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryMax":{
+            "metric": "java.lang:type=Memory.NonHeapMemoryUsage[max]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
+          "metrics/jvm/NonHeapMemoryUsed":{
+            "metric": "java.lang:type=Memory.NonHeapMemoryUsage[used]",
+            "pointInTime" : true,
+            "temporal" : false
+          },
           "metrics/jvm/memNonHeapUsedM": {
             "metric": "Hadoop:service=ResourceManager,name=JvmMetrics.MemNonHeapUsedM",
             "pointInTime": true,

http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/test/java/org/apache/ambari/server/controller/jmx/JMXPropertyProviderTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/jmx/JMXPropertyProviderTest.java
b/ambari-server/src/test/java/org/apache/ambari/server/controller/jmx/JMXPropertyProviderTest.java
index 6459f66..d6ebda3 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/jmx/JMXPropertyProviderTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/jmx/JMXPropertyProviderTest.java
@@ -381,6 +381,8 @@ public class JMXPropertyProviderTest {
     Assert.assertEquals(0,  resource.getPropertyValue(PropertyHelper.getPropertyId("metrics/yarn/ClusterMetrics",
"NumUnhealthyNMs")));
     Assert.assertEquals(0,  resource.getPropertyValue(PropertyHelper.getPropertyId("metrics/yarn/ClusterMetrics",
"NumRebootedNMs")));
 
+    Assert.assertEquals(932118528,  resource.getPropertyValue(PropertyHelper.getPropertyId("metrics/jvm",
"HeapMemoryMax")));
+
     //namenode
     resource = new ResourceImpl(Resource.Type.HostComponent);
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/fa54ce2a/ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metrics.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metrics.json
b/ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metrics.json
index 51d3baf..82144a3 100644
--- a/ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metrics.json
+++ b/ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HDFS/metrics.json
@@ -358,82 +358,82 @@
             "temporal" : false
           },
           "metrics/jvm/gcCount":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.gcCount",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.GcCount",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/gcTimeMillis":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.gcTimeMillis",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.GcTimeMillis",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logError":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logError",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogError",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logFatal":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logFatal",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogFatal",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logInfo":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logInfo",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogInfo",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logWarn":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logWarn",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogWarn",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memHeapCommittedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memHeapCommittedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemHeapCommittedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memHeapUsedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memHeapUsedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemHeapUsedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memNonHeapCommittedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memNonHeapCommittedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapCommittedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memNonHeapUsedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memNonHeapUsedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapUsedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsBlocked":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsBlocked",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsBlocked",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsNew":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsNew",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsNew",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsRunnable":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsRunnable",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsRunnable",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsTerminated":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsTerminated",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTerminated",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsTimedWaiting":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsTimedWaiting",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTimedWaiting",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsWaiting":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsWaiting",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsWaiting",
             "pointInTime" : true,
             "temporal" : false
           },
@@ -937,82 +937,82 @@
             "temporal" : false
           },
           "metrics/jvm/gcCount":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.gcCount",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.GcCount",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/gcTimeMillis":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.gcTimeMillis",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.GcTimeMillis",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logError":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logError",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogError",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logFatal":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logFatal",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogFatal",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logInfo":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logInfo",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogInfo",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/logWarn":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.logWarn",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.LogWarn",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memHeapCommittedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memHeapCommittedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemHeapCommittedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memHeapUsedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memHeapUsedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemHeapUsedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memNonHeapCommittedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memNonHeapCommittedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapCommittedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/memNonHeapUsedM":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.memNonHeapUsedM",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.MemNonHeapUsedM",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsBlocked":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsBlocked",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsBlocked",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsNew":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsNew",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsNew",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsRunnable":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsRunnable",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsRunnable",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsTerminated":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsTerminated",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTerminated",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsTimedWaiting":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsTimedWaiting",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsTimedWaiting",
             "pointInTime" : true,
             "temporal" : false
           },
           "metrics/jvm/threadsWaiting":{
-            "metric" : "Hadoop:service=NameNode,name=jvm.threadsWaiting",
+            "metric" : "Hadoop:service=NameNode,name=JvmMetrics.ThreadsWaiting",
             "pointInTime" : true,
             "temporal" : false
           },


Mime
View raw message