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

Hadoop QA commented on AMBARI-11179:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12733186/AMBARI-11179_01.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/2743//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/2743//console

This message is automatically generated.

> Kerberos: Oozie auth rules do not look correct
> ----------------------------------------------
>
>                 Key: AMBARI-11179
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11179
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: keberos
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11179_01.patch
>
>
> 0) create cluster, hDP 2.2, build 1203
> 1) Kerb cluster (hdfs, yarn,zk)
> 2) add ozzie
> 3) add hbase
> 4) everything seems ok.
> 5) I went and looked at oozie configs, 
> oozie.authentication.kerberos.name.rules property looks like this...is this 
> correct?
> {code}
> RULE:[1:$1@$0](ambari-qa-myclus...@example.com)s/.*/ambari-qa/
> RULE:[1:$1@$0](hbase-myclus...@example.com)s/.*/hbase/
> RULE:[1:$1@$0](hdfs-myclus...@example.com)s/.*/hdfs/
> RULE:[1:$1@$0](.*@EXAMPLE.COM)s/@.*//
> RULE:[1:$1@$0](.*@.*TODO-KERBEROS-DOMAIN)s/@.*//
> RULE:[2:$1@$0]([jt]t@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-MAPREDUSER/
> RULE:[2:$1@$0]([nd]n@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HDFSUSER/
> RULE:[2:$1@$0](d...@example.com)s/.*/hdfs/
> RULE:[2:$1@$0](hb...@example.com)s/.*/hbase/
> RULE:[2:$1@$0](hm@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
> RULE:[2:$1@$0](j...@example.com)s/.*/mapred/
> RULE:[2:$1@$0](j...@example.com)s/.*/hdfs/
> RULE:[2:$1@$0](n...@example.com)s/.*/yarn/
> RULE:[2:$1@$0](n...@example.com)s/.*/hdfs/
> RULE:[2:$1@$0](oo...@example.com)s/.*/oozie/
> RULE:[2:$1@$0](r...@example.com)s/.*/yarn/
> RULE:[2:$1@$0](rs@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
> RULE:[2:$1@$0](y...@example.com)s/.*/yarn/
> DEFAULT
> {code}
> *Solution*
> Remove the following values for 
> oozie-site/oozie.authentication.kerberos.name.rules
> {code:title=common-services/OOZIE/4.0.0.2.0/configuration/oozie-site.xml:145}
>       RULE:[2:$1@$0]([jt]t@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-MAPREDUxSER/
>       RULE:[2:$1@$0]([nd]n@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HDFSUSER/
>       RULE:[2:$1@$0](hm@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
>       RULE:[2:$1@$0](rs@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
>       DEFAULT
> {code}
> {code:title=common-services/OOZIE/5.0.0.2.3/configuration/oozie-site.xml:24}
>       RULE:[2:$1@$0]([jt]t@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-MAPREDUxSER/
>       RULE:[2:$1@$0]([nd]n@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HDFSUSER/
>       RULE:[2:$1@$0](hm@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
>       RULE:[2:$1@$0](rs@.*TODO-KERBEROS-DOMAIN)s/.*/TODO-HBASE-USER/
>       DEFAULT
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to