Explorar o código

AMBARI-15693: HAWQ segment percentage alert critical threshold should be 25% (Alexander Denissov via mithmatt)

Matt %!s(int64=9) %!d(string=hai) anos
pai
achega
7cefcb2a7b

+ 1 - 1
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/alerts.json

@@ -21,7 +21,7 @@
             },
             "critical": {
               "text": "affected: [{1}], total: [{0}]",
-              "value": 0.3
+              "value": 0.25
             }
           }
         }

+ 1 - 1
ambari-web/app/views/main/dashboard/widgets.js

@@ -480,7 +480,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, Ap
     visible: [],
     hidden: [],
     threshold: {1: [80, 90], 2: [85, 95], 3: [90, 95], 4: [80, 90], 5: [1000, 3000], 6: [], 7: [], 8: [], 9: [], 10: [], 11: [], 12: [], 13: [70, 90], 14: [150, 250], 15: [3, 10], 16: [],
-      17: [70, 90], 18: [], 19: [50, 75], 20: [50, 75], 21: [85, 95], 22: [85, 95], 23: [], 24: [70, 90]} // id:[thresh1, thresh2]
+      17: [70, 90], 18: [], 19: [50, 75], 20: [50, 75], 21: [85, 95], 22: [85, 95], 23: [], 24: [75, 90]} // id:[thresh1, thresh2]
   }),
 
   /**

+ 2 - 2
ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js

@@ -46,8 +46,8 @@ App.HawqSegmentUpView = App.TextDashboardWidgetView.extend(App.EditableWithLimit
 
   hiddenInfoClass: "hidden-info-three-line",
 
-  thresh1: 40,
-  thresh2: 70,
+  thresh1: 75,
+  thresh2: 90,
   maxValue: 100,
 
   hawqSegmentsStarted: counterOrNA('hawqSegmentsStarted'),