Parcourir la source

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

Fixed STORM metrics file structure.
Florian Barca il y a 10 ans
Parent
commit
c86d38823f

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

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