You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by is...@apache.org on 2018/05/09 22:01:16 UTC

[ambari] branch trunk updated: [AMBARI-23796] Allow Ranger and Ranger KMS installation via the Install Wizard.

This is an automated email from the ASF dual-hosted git repository.

ishanbha pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5fea707  [AMBARI-23796] Allow Ranger and Ranger KMS installation via the Install Wizard.
5fea707 is described below

commit 5fea707389964c0625e5c8d2369aab409131a343
Author: Ishan Bhatt <is...@gmail.com>
AuthorDate: Tue May 8 15:41:42 2018 -0700

    [AMBARI-23796] Allow Ranger and Ranger KMS installation via the Install Wizard.
---
 ambari-web/app/controllers/wizard/step7_controller.js | 5 ++++-
 ambari-web/app/models/stack_service.js                | 3 ---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index bfda293..745c73d 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -1852,7 +1852,10 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
 
   selectService: function (event) {
     this.set('selectedService', event.context);
-    this.get('tabs').findProperty('isActive', true).set('selectedServiceName', event.context.serviceName);
+    var activeTabs = this.get('tabs').findProperty('isActive', true);
+    if (activeTabs) {
+      activeTabs.set('selectedServiceName', event.context.serviceName);
+    }
   },
 
   /**
diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js
index 2bd5217..aa48e17 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -215,9 +215,6 @@ App.StackService = DS.Model.extend({
     if(!App.supports.installGanglia) {
       skipServices.push('GANGLIA');
     }
-    if(App.router.get('clusterInstallCompleted') != true){
-      skipServices.push('RANGER', 'RANGER_KMS');
-    }
     return skipServices.contains(this.get('serviceName'));
   }.property('serviceName'),
 

-- 
To stop receiving notification emails like this one, please contact
ishanbha@apache.org.