You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2013/03/07 19:31:53 UTC

svn commit: r1453989 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/models/service.js

Author: jaimin
Date: Thu Mar  7 18:31:53 2013
New Revision: 1453989

URL: http://svn.apache.org/r1453989
Log:
AMBARI-1575. Service should be shown red when any of its master component is in START_FAILED status.(jaimin)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/models/service.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1453989&r1=1453988&r2=1453989&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Mar  7 18:31:53 2013
@@ -426,6 +426,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1575. Service should be shown red when any of its master component 
+ is in START_FAILED status. (jaimin)
+
  AMBARI-1565. Ambari server throws EntityExistsException on transitioning 
  from INIT to INSTALLED state. (Sumit Mohanty via swagle)
 

Modified: incubator/ambari/trunk/ambari-web/app/models/service.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/models/service.js?rev=1453989&r1=1453988&r2=1453989&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/models/service.js (original)
+++ incubator/ambari/trunk/ambari-web/app/models/service.js Thu Mar  7 18:31:53 2013
@@ -54,7 +54,7 @@ App.Service = DS.Model.extend({
       this.set('healthStatus', 'green');
     } else if (components.someProperty('workStatus', App.HostComponentStatus.starting)) {
       this.set('healthStatus', 'green-blinking');
-    } else if (components.someProperty('workStatus', App.HostComponentStatus.stopped)) {
+    } else if (components.someProperty('workStatus', App.HostComponentStatus.stopped) || components.someProperty('workStatus', App.HostComponentStatus.start_failed)) {
       this.set('healthStatus', 'red');
     } else {
       this.set('healthStatus', 'red-blinking');