hive创建管理员角色和授权

时间:2022-10-30 17:58:11
create role admin;
grant ALL on server server1 to role admin;
grant role admin to group admin;
grant ALL on database default to role admin;

create role hive;
grant ALL on server server1 to role hive;
grant role admin to group hive;
grant ALL on default to role hive;