Repository: ambari
Updated Branches:
  refs/heads/trunk a8bbcc776 -> b93f3aab2


AMBARI-11127. Failed to install Ranger KMS (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b93f3aab
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b93f3aab
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b93f3aab

Branch: refs/heads/trunk
Commit: b93f3aab2fb505e046b0f7ea4fdf8d470e8778a8
Parents: a8bbcc7
Author: Aleksandr Kovalenko <akovale...@hortonworks.com>
Authored: Thu May 14 15:28:10 2015 +0300
Committer: Aleksandr Kovalenko <akovale...@hortonworks.com>
Committed: Thu May 14 15:28:10 2015 +0300

----------------------------------------------------------------------
 .../resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml  | 4 ++++
 ambari-web/app/models/stack_service.js                           | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b93f3aab/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml
 
b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml
index b5ae899..f956fed 100644
--- 
a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml
+++ 
b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/metainfo.xml
@@ -75,6 +75,10 @@
         <timeout>300</timeout>        
       </commandScript>
 
+      <requiredServices>
+        <service>RANGER</service>
+      </requiredServices>
+      
     </service>
   </services>
 </metainfo>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b93f3aab/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 1485f07..dcdb60b 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -89,7 +89,7 @@ App.StackService = DS.Model.extend({
       skipServices.push('GANGLIA');
     }
     if(App.router.get('clusterInstallCompleted') != true){
-      skipServices.push('RANGER');
+      skipServices.push('RANGER', 'RANGER_KMS');
     }
     return skipServices.contains(this.get('serviceName'));
   }.property('serviceName'),

Reply via email to