HI All,
I am working to integrate ranger and presto and following this URL but ended with error and integration is not successful.
Steps:
- Created a ranger-${RANGER_VERSION}-presto-plugin.tar.gz file.
- Extracted tar file to ranger-presto-plugin
- Changed install.properies file.
- Run ./enable-presto-plugin.sh
It was successful run but It did not create access-control.properties & rules.json file. And I created these files manually in /etc/presto. Now presto is not starting and failed with the below error.
2019-06-21T04:59:21.731Z ERROR main com.facebook.presto.server.PrestoServer Access control ranger is not registered
java.lang.IllegalStateException: Access control ranger is not registered
at com.google.common.base.Preconditions.checkState(Preconditions.java:585)
at com.facebook.presto.security.AccessControlManager.setSystemAccessControl(AccessControlManager.java:136)
at com.facebook.presto.security.AccessControlManager.loadSystemAccessControl(AccessControlManager.java:118)
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:142)
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:73)
Do we need to use ranger-servicedef-presto.json anywhere because its not mentioned in ranger presto integration URL.
OR any another link which I can follow which is having all information.
Thanks
Bharat Bhushan