Преглед на файлове

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)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1435428 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako преди 12 години
родител
ревизия
0a93b79c61
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 3 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/controllers/wizard/step10_controller.js

+ 3 - 0
CHANGES.txt

@@ -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)
 

+ 1 - 1
ambari-web/app/controllers/wizard/step10_controller.js

@@ -22,7 +22,7 @@ App.WizardStep10Controller = Em.Controller.extend({
   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 () {