瀏覽代碼

AMBARI-10286 [WinTP2] Storm service fails to set up

Fixed STORM metrics file structure.
Florian Barca 10 年之前
父節點
當前提交
c86d38823f
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json

+ 4 - 6
ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metrics.json

@@ -416,7 +416,7 @@
     "Component": [
       {
         "type": "ganglia",
-        "metrics": {
+        "metrics": {"default":{
           "metrics/boottime": {
             "metric": "boottime",
             "pointInTime": true,
@@ -597,15 +597,13 @@
             "pointInTime": true,
             "temporal": true
           }
-
-
-        }
+        }}
       }
     ],
     "HostComponent": [
       {
         "type": "ganglia",
-        "metrics": {
+        "metrics": {"default":{
           "metrics/boottime": {
             "metric": "boottime",
             "pointInTime": true,
@@ -786,7 +784,7 @@
             "pointInTime": true,
             "temporal": true
           }
-        }
+        }}
       }
     ]
   }