Просмотр исходного кода

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

Fixed STORM metrics file structure.
Florian Barca 10 лет назад
Родитель
Сommit
c86d38823f

+ 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
           }
-        }
+        }}
       }
     ]
   }