Robert Levas created AMBARI-20335:
-------------------------------------
Summary: 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
Fix For: 2.5.0
>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
{{[email protected]}}
{noformat}
"[email protected]":[
"ranger_audit_user",
"dev"]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)