You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Robert Levas (JIRA)" <ji...@apache.org> on 2017/03/07 00:02:33 UTC

[jira] [Updated] (AMBARI-20335) Kerberos identity reference not working for ranger-audit property in hbase

     [ https://issues.apache.org/jira/browse/AMBARI-20335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Levas updated AMBARI-20335:
----------------------------------
    Attachment: AMBARI-20335_trunk_01.patch
                AMBARI-20335_branch2.5_01.patch

> Kerberos identity reference not working for ranger-audit property in hbase
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-20335
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20335
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos, kerberos_descriptor
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20335_branch2.5_01.patch, AMBARI-20335_trunk_01.patch
>
>
> From stack 2.5 onwards {{xasecure.audit.jaas.Client.option.principal/ranger-hbase-audit}} needs to have principal value available under {{hbase.master.kerberos.principal/hbase-site}}
> To achieve that added below block of code under hbase [kerberos.json|https://github.com/apache/ambari/blob/branch-2.5/ambari-server/src/main/resources/stacks/HDP/2.5/services/HBASE/kerberos.json]
> {noformat}
> {
>               "name": "/HBASE/HBASE_MASTER/hbase_master_hbase",
>               "principal": {
>                 "configuration": "ranger-hbase-audit/xasecure.audit.jaas.Client.option.principal"
>               },
>               "keytab": {
>                 "configuration": "ranger-hbase-audit/xasecure.audit.jaas.Client.option.keyTab"
>               }
> }
> {noformat}
> But on test cluster, {{xasecure.audit.jaas.Client.option.principal/ranger-hbase-audit}} property is not showing the expected value. It is showing the principal/keytab values of {{ams_hbase_master_hbase}} identity. 
> Because of wrong reference of principal audit to solr is not working in kerberos environment, as security.json have below entry instead of {{hbase@EXAMPLE.COM}}
> {noformat}
> "amshbase@EXAMPLE.COM":[
>         "ranger_audit_user",
>         "dev"]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)