[
https://issues.apache.org/jira/browse/RANGER-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212234#comment-16212234
]
Ronald van de Kuil commented on RANGER-1847:
--------------------------------------------
[2017-10-14 13:16:52,388] WARN cache file does not exist or not readable 'null'
(org.apache.ranger.plugin.util.PolicyRefresher)
[2017-10-14 13:16:52,394] ERROR PolicyRefresher(serviceName=null): failed to
refresh policies. Will continue to use last known version of policies (-1)
(org.apache.ranger.plugin.util.PolicyRefresher)
com.sun.jersey.api.client.ClientHandlerException:
java.lang.IllegalArgumentException: URI is not absolute
at
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:151)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at
com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507)
at
org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:115)
at
org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:232)
at
org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:188)
at
org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:158)
Caused by: java.lang.IllegalArgumentException: URI is not absolute
at java.net.URI.toURL(URI.java:1088)
at
com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:159)
at
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
... 8 more
[2017-10-14 13:16:52,395] WARN cache file does not exist or not readable 'null'
(org.apache.ranger.plugin.util.PolicyRefresher)
[2017-10-14 13:16:52,426] INFO [ThrottledRequestReaper-Produce], Starting
(kafka.server.ClientQuotaManager$ThrottledRequestReaper)
[2017-10-14 13:16:52,429] INFO [ThrottledRequestReaper-Fetch], Starting
(kafka.server.ClientQuotaManager$ThrottledRequestReaper)
[2017-10-14 13:16:52,443] INFO Will not load MX4J, mx4j-tools.jar is not in the
classpath (kafka.utils.Mx4jLoader$)
[2017-10-14 13:16:52,474] INFO Creating /brokers/ids/0 (is it secure? false)
(kafka.utils.ZKCheckedEphemeral)
[2017-10-14 13:16:52,485] INFO Result of znode creation is: OK
(kafka.utils.ZKCheckedEphemeral)
[2017-10-14 13:16:52,486] INFO Registered broker 0 at path /brokers/ids/0 with
addresses: SASL_PLAINTEXT -> EndPoint(ronald-VirtualBox,9092,SASL_PLAINTEXT)
(kafka.utils.ZkUtils)
[2017-10-14 13:16:52,486] WARN No meta.properties file under dir
/var/kafka-logs/meta.properties (kafka.server.BrokerMetadataCheckpoint)
[2017-10-14 13:16:52,580] INFO Kafka version : 0.10.0.1
(org.apache.kafka.common.utils.AppInfoParser)
[2017-10-14 13:16:52,581] INFO Kafka commitId : a7a17cdec9eaa6c5
(org.apache.kafka.common.utils.AppInfoParser)
[2017-10-14 13:16:52,581] INFO [Kafka Server 0], started
(kafka.server.KafkaServer)
[2017-10-14 13:16:52,750] ERROR Ranger Plugin returned null. Returning false
(org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer)
> 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)