ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20335) Kerberos identity reference not working for ranger-audit property in hbase
Date Tue, 07 Mar 2017 00:08:33 GMT

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

Robert Levas updated AMBARI-20335:
----------------------------------
    Status: Open  (was: Patch Available)

> 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_branch-2.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)

Mime
View raw message