Repository: ambari Updated Branches: refs/heads/branch-2.2 4f7a767ac -> 18fdb05f6
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/18fdb05f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/18fdb05f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/18fdb05f Branch: refs/heads/branch-2.2 Commit: 18fdb05f6fdc03e5f1edb2c3ad9781f04b2efce0 Parents: 4f7a767 Author: Matt <[email protected]> Authored: Tue Apr 5 12:32:44 2016 -0700 Committer: Matt <[email protected]> Committed: Tue Apr 5 12:32:44 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 ++-- .../test/views/main/dashboard/widgets/hawqsegment_live_test.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/18fdb05f/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 59036aa..0a0678f 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/18fdb05f/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 46a48ec..52513bc 100644 --- a/ambari-web/app/views/main/dashboard/widgets.js +++ b/ambari-web/app/views/main/dashboard/widgets.js @@ -478,7 +478,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/18fdb05f/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 eddb13c..f67ab47 100644 --- a/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js +++ b/ambari-web/app/views/main/dashboard/widgets/hawqsegment_live.js @@ -37,8 +37,8 @@ App.HawqSegmentUpView = App.TextDashboardWidgetView.extend({ }.property('hawqSegmentsStarted', 'hawqSegmentsInstalled', 'hawqSegmentsTotal'), hiddenInfoClass: "hidden-info-three-line", - thresh1: 40, - thresh2: 70, + thresh1: 75, + thresh2: 90, maxValue: 100, hawqSegmentsStarted: function () { http://git-wip-us.apache.org/repos/asf/ambari/blob/18fdb05f/ambari-web/test/views/main/dashboard/widgets/hawqsegment_live_test.js ---------------------------------------------------------------------- diff --git a/ambari-web/test/views/main/dashboard/widgets/hawqsegment_live_test.js b/ambari-web/test/views/main/dashboard/widgets/hawqsegment_live_test.js index eb8a505..adb61d4 100644 --- a/ambari-web/test/views/main/dashboard/widgets/hawqsegment_live_test.js +++ b/ambari-web/test/views/main/dashboard/widgets/hawqsegment_live_test.js @@ -42,7 +42,7 @@ describe('App.HawqSegmentUpView', function() { } }, { - data: 50, + data: 80, e: { isRed: false, isOrange: true,
