Author: yusaku
Date: Sat Jan 19 00:44:01 2013
New Revision: 1435428

URL: http://svn.apache.org/viewvc?rev=1435428&view=rev
Log:
AMBARI-1176. In some cases, once Add Hosts wizard has run once, it requires a 
log out before the Add Hosts wizard can be run again. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step10_controller.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1435428&r1=1435427&r2=1435428&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Sat Jan 19 00:44:01 2013
@@ -48,6 +48,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1176. In some cases, once Add Hosts wizard has run once, it requires
+ a log out before the Add Hosts wizard can be run again. (yusaku)
+
  AMBARI-1203. mapred-site.xml default system directory is not set
  to /mapred/system. (yusaku)
 

Modified: 
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step10_controller.js
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard/step10_controller.js?rev=1435428&r1=1435427&r2=1435428&view=diff
==============================================================================
--- 
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step10_controller.js 
(original)
+++ 
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step10_controller.js 
Sat Jan 19 00:44:01 2013
@@ -22,7 +22,7 @@ App.WizardStep10Controller = Em.Controll
   clusterInfo: [],
 
   isNagiosRestartRequired: function() {
-    return this.get('content.controllerName') !== 'installerController' && 
App.db.getSlaveComponentHosts().findProperty('componentName', 
'HBASE_REGIONSERVER').hosts.length;
+    return this.get('content.controllerName') !== 'installerController' && 
App.Service.find('NAGIOS').get('isLoaded');
   }.property(),
 
   clearStep: function () {


Reply via email to