Created 10-08-2016 08:48 AM
I want to know install kafka-plugin in ranger,what is the kafka and ranger version? It is best by test.
Created 10-09-2016 12:44 AM
It depends on what release of HDP you're using, in 2.5 the steps to install Kafka ranger plugin are here http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/kafka_plugin.html Kafka version is 0.10.0.1 and ranger is 0.6
Created 10-09-2016 12:44 AM
It depends on what release of HDP you're using, in 2.5 the steps to install Kafka ranger plugin are here http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/kafka_plugin.html Kafka version is 0.10.0.1 and ranger is 0.6
Created 10-09-2016 04:02 AM
Hi Sir,I have try to take your addvice about that version.but it didn't success,So can you tell me your zookeeper's version.
Created 10-10-2016 01:37 PM
I cannot say which is the best, but in production we configured HDP 2.4.2 with 0.5.2 Ranger and 0.9.0.1 Kafka and worked well. If you are going with newer version you might use newer versions of both :).
Created 10-10-2016 01:59 PM
can you tell me your zookeeper's version?
Created 10-10-2016 03:27 PM
zookeeper has been 3.4.6 for the last few HDP versions.
Created 10-15-2016 10:06 AM
[2016-10-15 17:46:24,378] ERROR Ranger Plugin returned null. Returning false (org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer) [2016-10-15 17:45:59,203] 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:217) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:185) 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:1095) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:159) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) ... 8 more