ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-17479) authorizer.class.name not being set on secure kafka clusters
Date Thu, 07 Jul 2016 21:31:11 GMT

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

Hudson commented on AMBARI-17479:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #5249 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5249/])
AMBARI-17479. authorizer.class.name not being set on secure kafka (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2913de53c82524ae44270ce52b561f457f47a37c])
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
* ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py
* ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py


> authorizer.class.name not being set on secure kafka clusters
> ------------------------------------------------------------
>
>                 Key: AMBARI-17479
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17479
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Blocker
>              Labels: kerberos, kerberos_descriptor, stack_advisor
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17479_branch-2.4_01.patch, AMBARI-17479_trunk_01.patch
>
>
> The {{kafka-broker/authorizer.class.name}} property is not being set properly when Kerberos
is enabled.
> The following logic should be followed:
> {noformat}
> if Kerberos is enabled
>   if ranger-kafka-plugin-properties/ranger-kafka-plugin-enabled == yes
>     set authorizer.class.name to "org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer"
>   else
>     set authorizer.class.name to "kafka.security.auth.SimpleAclAuthorizer"
> else
>   remove authorizer.class.name
> {noformat}
> This should be updated in the stack advisor code. 
> While at it, configurations from Kafka's {{kerberos.json}} file should be moved to the
stack advisor to help ensure properties are set in the the same place to help with code maintenance
and consistency.



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

Mime
View raw message