فهرست منبع

AMBARI-4399 Storm: add ability to add Storm on an existing cluster via Add Services Wizard. (Denys Buzhor via atkach)

atkach 11 سال پیش
والد
کامیت
7bee7da4d6
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      ambari-web/app/controllers/main/service/add_controller.js

+ 5 - 1
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')) {