Repository: ambari Updated Branches: refs/heads/trunk 7af40ca15 -> ab06c68ac
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/ab06c68a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ab06c68a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ab06c68a Branch: refs/heads/trunk Commit: ab06c68acafd9e31a24e6b136f5772fdbf25655c Parents: 7af40ca Author: Srimanth Gunturi <sgunt...@hortonworks.com> Authored: Thu Feb 4 11:19:12 2016 -0800 Committer: Srimanth Gunturi <sgunt...@hortonworks.com> Committed: Thu Feb 4 11:19:12 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/ab06c68a/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 011833b..c92e83d 100644 --- a/ambari-web/app/controllers/wizard/step7_controller.js +++ b/ambari-web/app/controllers/wizard/step7_controller.js @@ -699,7 +699,7 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E if (App.get('isHaEnabled')) this.addHawqConfigsOnNnHa(configs); if (App.get('isRMHaEnabled')) this.addHawqConfigsOnRMHa(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); return configs },