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

2017-03-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-20335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899676#comment-15899676
 ] 

Hudson commented on AMBARI-20335:
-

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1200 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1200/])
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=225edb97f91428be6426f50b794ba051df2bb65e])
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/services/FAKEHBASE/kerberos.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.5/services/HBASE/kerberos.json
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
* (edit) 
ambari-server/src/test/resources/kerberos/test_kerberos_descriptor_2_5_infra_solr.json


> 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 
> {{hb...@example.com}}
> {noformat}
> "amshb...@example.com":[
> "ranger_audit_user",
> "dev"]
> {noformat}



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


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

2017-03-07 Thread Hudson (JIRA)

[ 
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 
> {{hb...@example.com}}
> {noformat}
> "amshb...@example.com":[
> "ranger_audit_user",
> "dev"]
> {noformat}



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