Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is the configuration need to be updated.

How to configure Kafka to use Sentry for authorization

Configuration KeyConfiguration Value
hive.security.authorization.task.factoryorg.apache.sentry.binding.hive.v2.SentryHiveAuthorizationTaskFactoryImplV2
hive.server2.session.hookorg.apache.sentry.binding.hive.v2.HiveAuthzBindingSessionHookV2
hive.metastore.rawstore.impl org.apache.sentry.binding.hive.v2.metastore.AuthorizingObjectStoreV2
hive.metastore.pre.event.listenersorg.apache.sentry.binding.hive.v2.metastore.MetastoreAuthzBindingV2
hive.server2.enable.doAsfalse
hive.security.authorization.enabledtrue
hive.security.authorization.managerorg.apache.sentry.binding.hive.v2.SentryAuthorizerFactory
hive.security.authenticator.managerorg.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator

...