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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15899598#comment-15899598 ] 

Hudson commented on AMBARI-20335:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6963 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6963/])
AMBARI-20335. Kerberos identity reference not working for ranger-audit (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fddf8fd006296642d7444f3318bef564f95b0ffe])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/services/HBASE/kerberos.json
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/services/FAKEHBASE/kerberos.json
* (edit) ambari-server/src/test/resources/kerberos/test_kerberos_descriptor_2_5_infra_solr.json
* (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java


> 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)