You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mi...@apache.org on 2016/04/05 21:29:13 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk d0da3f7c8 -> 7cefcb2a7


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


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

Branch: refs/heads/trunk
Commit: 7cefcb2a7ba73fc503b0d343af8a6a5bca9d6834
Parents: d0da3f7
Author: Matt <mm...@pivotal.io>
Authored: Tue Apr 5 12:27:25 2016 -0700
Committer: Matt <mm...@pivotal.io>
Committed: Tue Apr 5 12:27:25 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/common-services/HAWQ/2.0.0/alerts.json    | 2 +-
 ambari-web/app/views/main/dashboard/widgets.js                   | 2 +-
 ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js  | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7cefcb2a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/alerts.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/alerts.json b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/alerts.json
index 620cb90..852cb03 100644
--- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/alerts.json
+++ b/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
             }
           }
         }

http://git-wip-us.apache.org/repos/asf/ambari/blob/7cefcb2a/ambari-web/app/views/main/dashboard/widgets.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets.js b/ambari-web/app/views/main/dashboard/widgets.js
index 296ce40..067607f 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/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]
   }),
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/7cefcb2a/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js b/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js
index c35d2b2..bec98c6 100644
--- a/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js
+++ b/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'),