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 2014/02/28 03:11:17 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 813a124af -> 450022aee


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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/450022ae
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/450022ae
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/450022ae

Branch: refs/heads/trunk
Commit: 450022aeee367d3bb51910d2be9535da2bc2ac82
Parents: 813a124
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Thu Feb 27 18:10:37 2014 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Thu Feb 27 18:10:42 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step5_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/450022ae/ambari-web/app/controllers/wizard/step5_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step5_controller.js b/ambari-web/app/controllers/wizard/step5_controller.js
index 374e1da..0ba48e1 100644
--- a/ambari-web/app/controllers/wizard/step5_controller.js
+++ b/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) {