Repository: ambari Updated Branches: refs/heads/trunk 7b7331a3d -> af22c8c49
AMBARI-15745 - Create Alert For Reporting Potential Issues With Slow REST Responses (part3) (jonathanhurley) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/af22c8c4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/af22c8c4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/af22c8c4 Branch: refs/heads/trunk Commit: af22c8c494ceac6ed0d2f13aa7312fcb10a45b6f Parents: 7b7331a Author: Jonathan Hurley <[email protected]> Authored: Fri Apr 29 11:32:59 2016 -0400 Committer: Jonathan Hurley <[email protected]> Committed: Fri Apr 29 11:33:12 2016 -0400 ---------------------------------------------------------------------- .../org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/af22c8c4/ambari-server/src/main/java/org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java b/ambari-server/src/main/java/org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java index a69abeb..7ed2427 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/alerts/AmbariPerformanceRunnable.java @@ -378,7 +378,7 @@ public class AmbariPerformanceRunnable extends AlertRunnable { } if (time >= criticalThreshold) { - alertState = AlertState.WARNING; + alertState = AlertState.CRITICAL; } String resultLabel = MessageFormat.format(PERFORMANCE_AREA_TEMPLATE, area.m_label, time,
