...
- hive.server2.enable.doAs to false.
- hive.users.in.admin.role to the list of comma-separated users who need to be added to admin role. Note that a user who belongs to the admin role needs to run the "
set role
" command before getting the privileges of the admin role, as this role is not in current roles by default. - Advanced configuration
To override the default authorization DDL handling, set hive.security.authorization.task.factory to a class that implements org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactory interface (new in Hive 0.15)
Start HiveServer2 with the following additional command-line options:
...