...
Here is the configuration need to be updated.
How to configure Kafka to use Sentry for authorization
Configuration Key | Configuration Value |
---|---|
hive.security.authorization.task.factory | org.apache.sentry.binding.hive.v2.SentryHiveAuthorizationTaskFactoryImplV2 |
hive.server2.session.hook | org.apache.sentry.binding.hive.v2.HiveAuthzBindingSessionHookV2 |
hive.metastore.rawstore.impl | org.apache.sentry.binding.hive.v2.metastore.AuthorizingObjectStoreV2 |
hive.metastore.pre.event.listeners | org.apache.sentry.binding.hive.v2.metastore.MetastoreAuthzBindingV2 |
hive.server2.enable.doAs | false |
hive.security.authorization.enabled | true |
hive.security.authorization.manager | org.apache.sentry.binding.hive.v2.SentryAuthorizerFactory |
hive.security.authenticator.manager | org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator |
...