ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject ambari git commit: AMBARI-14929. Enable security wizard hangs (srimanth)
Date Thu, 04 Feb 2016 19:17:08 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 3e1e4f86e -> 49c03e04d


AMBARI-14929. Enable security wizard hangs (srimanth)


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

Branch: refs/heads/branch-2.2
Commit: 49c03e04dbd74aa15b16280ac25aefeb3f686387
Parents: 3e1e4f8
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Thu Feb 4 11:07:25 2016 -0800
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Thu Feb 4 11:16:53 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/49c03e04/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index a38222a..db6464d 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -725,7 +725,7 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin,
App.E
       }
     }
     // On single node cluster, update hawq configs
-    if (Object.keys(this.get('content.hosts')).length === 1) this.removeHawqStandbyHostAddressConfig(configs);
+    if (this.get('content.hosts') && Object.keys(this.get('content.hosts')).length
=== 1) this.removeHawqStandbyHostAddressConfig(configs);
     var dependedServices = ["STORM", "YARN"];
     dependedServices.forEach(function (serviceName) {
       if (this.get('allSelectedServiceNames').contains(serviceName)) {


Mime
View raw message