[
https://issues.apache.org/jira/browse/AMBARI-17462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355388#comment-15355388
]
Mugdha Varadkar edited comment on AMBARI-17462 at 6/29/16 3:04 PM:
-------------------------------------------------------------------
[~aantonenko], other jaas conf jinja templates are also using the same form.
Please check :
https://github.com/apache/ambari/blob/branch-2.4/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
https://github.com/apache/ambari/blob/branch-2.4/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/logsearch_solr_jaas.conf.j2
{noformat}
$ diff
ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/logsearch_solr_jaas.conf.j2
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/templates/ranger_solr_jass_conf.j2
20,25c20,25
< com.sun.security.auth.module.Krb5LoginModule required
< useKeyTab=true
< storeKey=true
< useTicketCache=false
< keyTab="{{logsearch_solr_kerberos_keytab}}"
< principal="{{logsearch_solr_kerberos_principal}}";
---
> com.sun.security.auth.module.Krb5LoginModule required
> useKeyTab=true
> storeKey=true
> useTicketCache=false
> keyTab="{{solr_kerberos_keytab}}"
> principal="{{solr_kerberos_principal}}";
{noformat}
Any particular reason its failing for Ranger only?
was (Author: mugdha.varadkar):
@Antonenko, other jaas conf jinja templates are also using the same form.
Please check :
https://github.com/apache/ambari/blob/branch-2.4/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
https://github.com/apache/ambari/blob/branch-2.4/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/logsearch_solr_jaas.conf.j2
{noformat}
$ diff
ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/templates/logsearch_solr_jaas.conf.j2
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/templates/ranger_solr_jass_conf.j2
20,25c20,25
< com.sun.security.auth.module.Krb5LoginModule required
< useKeyTab=true
< storeKey=true
< useTicketCache=false
< keyTab="{{logsearch_solr_kerberos_keytab}}"
< principal="{{logsearch_solr_kerberos_principal}}";
---
> com.sun.security.auth.module.Krb5LoginModule required
> useKeyTab=true
> storeKey=true
> useTicketCache=false
> keyTab="{{solr_kerberos_keytab}}"
> principal="{{solr_kerberos_principal}}";
{noformat}
Any particular reason its failing for Ranger only?
> Install Log search client package with Ranger Service
> -----------------------------------------------------
>
> Key: AMBARI-17462
> URL: https://issues.apache.org/jira/browse/AMBARI-17462
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Mugdha Varadkar
> Assignee: Mugdha Varadkar
> Fix For: 2.4.0
>
> Attachments: AMBARI-17462.1.patch, AMBARI-17462.patch
>
>
> From Ambari installation, install Log search client package with Ranger
> Service
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)