Updated Branches: refs/heads/trunk 5ff51712a -> 7bee7da4d
AMBARI-4399 Storm: add ability to add Storm on an existing cluster via Add Services Wizard. (Denys Buzhor via atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7bee7da4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7bee7da4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7bee7da4 Branch: refs/heads/trunk Commit: 7bee7da4d6559aa4dc12d2f28a6e6d20ddf4dd74 Parents: 5ff5171 Author: atkach <[email protected]> Authored: Thu Jan 23 20:07:07 2014 +0200 Committer: atkach <[email protected]> Committed: Thu Jan 23 20:07:07 2014 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/add_controller.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7bee7da4/ambari-web/app/controllers/main/service/add_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/add_controller.js b/ambari-web/app/controllers/main/service/add_controller.js index 7d73262..b9a39d2 100644 --- a/ambari-web/app/controllers/main/service/add_controller.js +++ b/ambari-web/app/controllers/main/service/add_controller.js @@ -151,7 +151,7 @@ App.AddServiceController = App.WizardController.extend({ this.setDBProperty('selectedServiceNames',serviceNames); console.log('AddServiceController.selectedServiceNames:', serviceNames); - this.set('content.skipSlavesStep', !serviceNames.contains('MAPREDUCE') && !serviceNames.contains('HBASE')); + this.set('content.skipSlavesStep', !serviceNames.contains('MAPREDUCE') && !serviceNames.contains('HBASE') && !serviceNames.contains('STORM') && !serviceNames.contains('YARN')); if (this.get('content.skipSlavesStep')) { this.get('isStepDisabled').findProperty('step', 3).set('value', this.get('content.skipSlavesStep')); } @@ -264,6 +264,10 @@ App.AddServiceController = App.WizardController.extend({ { name: 'HBASE_REGIONSERVER', service: 'HBASE' + }, + { + name: 'SUPERVISOR', + service: 'STORM' }]; if (App.get('isHadoop2Stack')) {
