Repository: ambari Updated Branches: refs/heads/trunk 0a46a47ea -> 1d01d35a6
AMBARI-9273. Hide Ranger from showing up in the list of services in Install Wizard (but must appear in Add Services and Stacks page) (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2e10a752 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2e10a752 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2e10a752 Branch: refs/heads/trunk Commit: 2e10a7528cc2b675702582636dd3cab12c1757f4 Parents: 0a46a47 Author: Alex Antonenko <hiv...@gmail.com> Authored: Thu Jan 22 20:34:01 2015 +0200 Committer: Alex Antonenko <hiv...@gmail.com> Committed: Thu Jan 22 22:50:28 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/config.js | 1 - ambari-web/app/controllers/wizard/step4_controller.js | 2 +- ambari-web/app/models/stack_service.js | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2e10a752/ambari-web/app/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/config.js b/ambari-web/app/config.js index 606920b..978c26b 100644 --- a/ambari-web/app/config.js +++ b/ambari-web/app/config.js @@ -64,7 +64,6 @@ App.supports = { alwaysEnableManagedMySQLForHive: false, preKerberizeCheck: false, automatedKerberos: true, - ranger: false, customizeAgentUserAccount: false, installGanglia: false, opsDuringRollingUpgrade: false http://git-wip-us.apache.org/repos/asf/ambari/blob/2e10a752/ambari-web/app/controllers/wizard/step4_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step4_controller.js b/ambari-web/app/controllers/wizard/step4_controller.js index ad1d210..673545f 100644 --- a/ambari-web/app/controllers/wizard/step4_controller.js +++ b/ambari-web/app/controllers/wizard/step4_controller.js @@ -218,7 +218,7 @@ App.WizardStep4Controller = Em.ArrayController.extend({ * @method isDFSStack */ isDFSStack: function () { - var bDFSStack = false; + var bDFSStack = false; var dfsServices = ['HDFS', 'GLUSTERFS']; var availableServices = this.filterProperty('isInstalled',false); availableServices.forEach(function(service){ http://git-wip-us.apache.org/repos/asf/ambari/blob/2e10a752/ambari-web/app/models/stack_service.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js index 517499b..f7b03ca 100644 --- a/ambari-web/app/models/stack_service.js +++ b/ambari-web/app/models/stack_service.js @@ -87,6 +87,9 @@ App.StackService = DS.Model.extend({ if(!App.supports.installGanglia) { skipServices.push('GANGLIA'); } + if(App.router.get('clusterInstallCompleted') != true){ + skipServices.push('RANGER'); + } return skipServices.contains(this.get('serviceName')); }.property('serviceName'),