Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 01-14-2016 07:22 AM
In kafka, I tried to execute consume/publish command with disabled all policies of Ranger, it did not deny both consume/publish behavior. Did I miss any configuration setting of kafka or misunderstanding something else?
Created 02-15-2016 03:54 AM
Here are some steps of enable ranger for kafka and works fine with HDP2.3.4 and Ranger 0.5.0:
1.) Enable kerberos server for cluster.
2.) In Ambari server, go to Kafka`s Configs > Advanced ranger-kafka-plugin-properties , click "Enable Ranger for Kafka".
3.) Go to Configs > Custom kafka-broker , change value of "authorizer.class.name" to "org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer".
4.) Save changes and restart kafka component.
5.) Go to Ranger admin UI, then disable all policies of kafka.
6.) It should be deny Publish/Consume actions now.
Created 02-03-2016 05:18 AM
@Neeraj Sabharwal Sure,it`s still could run the job when I disable kafka policy.
Created 02-03-2016 05:19 AM
@Benson Shih then I guess Ranger policy is working 🙂
Created 02-02-2016 05:06 PM
@Benson Shih is this issue resolved? Can you accept best answer or provide your own solution?
Created 02-03-2016 04:59 AM
Hi @Artem Ervits,
It`s still not resolved yet,I`m trying to figure out the solution soon,once I find out the solution I`ll provide solution or accept best answer.
Created 02-03-2016 05:07 AM
@Benson Shih I will be working on the demo. Let's connect...Add me on linkedin plz
Created 02-03-2016 05:19 AM
OK ,thanks.
Created 02-10-2016 06:41 PM
Hi @Neeraj Sabharwal I would also be very interested in seeing the use case demo for this, thanks!
Created 02-15-2016 03:54 AM
Here are some steps of enable ranger for kafka and works fine with HDP2.3.4 and Ranger 0.5.0:
1.) Enable kerberos server for cluster.
2.) In Ambari server, go to Kafka`s Configs > Advanced ranger-kafka-plugin-properties , click "Enable Ranger for Kafka".
3.) Go to Configs > Custom kafka-broker , change value of "authorizer.class.name" to "org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer".
4.) Save changes and restart kafka component.
5.) Go to Ranger admin UI, then disable all policies of kafka.
6.) It should be deny Publish/Consume actions now.
Created 02-15-2016 03:57 AM
@Benson Shih This works BUT I was under the impression that you are looking for solution for non kerberos environment.
Created 02-15-2016 03:32 PM