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

Sean Roberts updated AMBARI-22715:
----------------------------------
    Affects Version/s: 2.5.2

> Kafka broken by auth_to_local rules when case_insensitive_username_rules=true
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-22715
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22715
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>            Reporter: Sean Roberts
>            Priority: Major
>
> https://issues.apache.org/jira/browse/AMBARI-22715
> Kafka brokers will fail to start when Kerberos is set with:
> case_insensitive_username_rules=true
> This is due to Kafka not supporting the lower case (/L) functionality.
> How to reproduce:
> 1. Deploy a cluster which includes Kafka
> 2. Kerberize cluster
> 3. Ensure following is set in 'kerberos-env':
> {code}
> case_insensitive_username_rules=true
> manage_auth_to_local=true
> {code}
> 4. Start Kafka brokers
> 5. They will fail to start.
> Note the /Ls in the configuration below.
> For Kafka to function, Ambari will need to not include the "/L"s in the Kafka 
> configuration.
> {code}
> "sasl.kerberos.principal.to.local.rules" : 
> "RULE:[1:$1@$0]([email protected])s/.*/ambari-qa/,RULE:[1:$1@$0]([email protected])s/.*/hbase/,RULE:[1:$1@$0]([email protected])s/.*/hdfs/,RULE:[1:$1@$0]([email protected])s/.*/spark/,RULE:[1:$1@$0]([email protected])s/.*/zeppelin/,RULE:[1:$1@$0](.*@CLUSTER.TEST.COM)s/@.*///L,RULE:[2:$1@$0]([email protected])s/.*/activity_analyzer/,RULE:[2:$1@$0]([email protected])s/.*/activity_explorer/,RULE:[2:$1@$0]([email protected])s/.*/ams/,RULE:[2:$1@$0]([email protected])s/.*/ams/,RULE:[2:$1@$0]([email protected])s/.*/atlas/,RULE:[2:$1@$0]([email protected])s/.*/hdfs/,RULE:[2:$1@$0]([email protected])s/.*/hbase/,RULE:[2:$1@$0]([email protected])s/.*/hive/,RULE:[2:$1@$0]([email protected])s/.*/mapred/,RULE:[2:$1@$0]([email protected])s/.*/hdfs/,RULE:[2:$1@$0]([email protected])s/.*/knox/,RULE:[2:$1@$0]([email protected])s/.*/livy/,RULE:[2:$1@$0]([email protected])s/.*/yarn/,RULE:[2:$1@$0]([email protected])s/.*/hdfs/,RULE:[2:$1@$0]([email protected])s/.*/oozie/,RULE:[2:$1@$0]([email protected])s/.*/ranger/,RULE:[2:$1@$0]([email protected])s/.*/keyadmin/,RULE:[2:$1@$0]([email protected])s/.*/rangertagsync/,RULE:[2:$1@$0]([email protected])s/.*/rangerusersync/,RULE:[2:$1@$0]([email protected])s/.*/yarn/,RULE:[2:$1@$0]([email protected])s/.*/yarn/,DEFAULT",
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to