Hive Authorization
Table of Contents |
---|
...
hive.metastore.pre.event.listeners
–
Set toorg.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener
.
This turns on metastore-side security.hive.security.metastore.authorization.manager
–
Set toorg.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider
.
This tells Hive which metastore-side authorization provider to use. TheDefaultHiveMetastoreAuthorizationProvider
implements the standard Hive grant/revoke model. To use an HDFS permission-based model to do your authorization, you can useorg.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider
instead.hive.security.metastore.authenticator.manager
–
Set toorg.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator
.
...