presto icon indicating copy to clipboard operation
presto copied to clipboard

unable to integrate ranger with presto

Open Dakadivya opened this issue 4 years ago • 2 comments

2021-08-25T18:42:18.965Z WARN main com.facebook.presto.server.PluginManager No service providers of type com.facebook.presto.spi.Plugin

2021-08-26T06:10:20.088Z 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:588) 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:152) at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:77)

Dakadivya avatar Aug 26 '21 06:08 Dakadivya

I think there is still work being done with presto and ranger integration

there is an open pull request https://github.com/prestodb/presto/pull/15519

rubenssoto avatar Aug 27 '21 02:08 rubenssoto

Same problem on version 0.276.1 2022-09-18T23:10:37.102+0800 INFO main com.facebook.presto.security.AccessControlManager -- Loading system access control -- 2022-09-18T23:10:37.103+0800 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:588) at com.facebook.presto.security.AccessControlManager.setSystemAccessControl(AccessControlManager.java:150) at com.facebook.presto.security.AccessControlManager.loadSystemAccessControl(AccessControlManager.java:136) at com.facebook.presto.security.AccessControlManager.loadSystemAccessControl(AccessControlManager.java:123) at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:169) at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:85)

drummerglen avatar Sep 18 '22 15:09 drummerglen

@agrawalreetika Can you please help here.

pratyakshsharma avatar Dec 23 '22 12:12 pratyakshsharma

You can use Ranger-Based Authorization for Hive connector by using the required configuration in your hive catalog configuration - https://prestodb.io/docs/current/connector/hive-security.html#hive-ranger-based-authorization This is supported in presto-0.275 or later.

agrawalreetika avatar Dec 23 '22 14:12 agrawalreetika