Sfoglia il codice sorgente

AMBARI-4877. Command "sudo su -l hdfs -c 'hdfs zkfc -formatZK'" has failed during enabling HA. (jaimin)

Jaimin Jetly 11 anni fa
parent
commit
450022aeee
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ambari-web/app/controllers/wizard/step5_controller.js

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

@@ -172,7 +172,7 @@ App.WizardStep5Controller = Em.Controller.extend({
       var componentInfo = masterComponents.filterProperty('service_name', services[index]);
 
       componentInfo.forEach(function (_componentInfo) {
-        if (this.get('multipleComponents').contains(_componentInfo.component_name)) {
+        if (_componentInfo.component_name == 'ZOOKEEPER_SERVER' || _componentInfo.component_name == 'HBASE_MASTER') {
           var savedComponents = masterHosts.filterProperty('component', _componentInfo.component_name);
           if (savedComponents.length) {