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

Ronald van de Kuil commented on RANGER-1847:
--------------------------------------------

Hmm, ... after reviewing the logs of the kafka server I realized that I had to 
add the Kafka Server's config directory to the CLASSPATH. It gives me different 
errors.

[2017-10-14 14:16:50,357] ERROR Error getting policies. secureMode=false, 
user=root (auth:SIMPLE), 
response={"httpStatusCode":400,"statusCode":1,"msgDesc":"Service:kafkadev not 
found","messageList":[{"name":"DATA_NOT_FOUND","rbKey":"xa.error.data_not_found","message":"Data
 not found"}]}, serviceName=kafkadev 
(org.apache.ranger.admin.client.RangerAdminRESTClient)

[2017-10-14 14:16:50,372] WARN cache file does not exist or not readable 
'/etc/ranger/kafkadev/policycache/kafka_kafkadev.json' 
(org.apache.ranger.plugin.util.PolicyRefresher)

> Ranger Kafka Plugin sasl.enabled.mechanisms=PLAIN
> -------------------------------------------------
>
>                 Key: RANGER-1847
>                 URL: https://issues.apache.org/jira/browse/RANGER-1847
>             Project: Ranger
>          Issue Type: Test
>          Components: plugins
>    Affects Versions: 0.6.3, 0.7.1
>         Environment: ubuntu stand-alone hobby environment
>            Reporter: Ronald van de Kuil
>            Priority: Minor
>
> I am such a NOOB hobby-ing away. And I like it. ;)
> I figured I would give it a try to setup Kafka to use the 
> sasl.enabled.mechanisms of type PLAIN with ranger to do the authorisation and 
> the auditing (instead of GSSAPI).
> I got it to work pretty far. KafkaServer gets into state SaslAuthenticated 
> with Zookeeper. 
> Next it loads the ranger kafka plugin. Then the RangerKafkaAuthorizer 
> complains about Kerberos. 
> I am not sure how to classify this issue. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to