Hive修改表的所有者(Owner)

参考:https://stackoverflow.com/questions/44448675/how-to-change-ownership-of-hive-table-database

You can try following with superuser

ALTER (DATABASE|SCHEMA) database_name SET OWNER [USER|ROLE] user_or_role;   -- (Note: Hive 0.13.0 and later; SCHEMA added in Hive 0.14.0)

If your Hadoop cluster is Kerberos enabled then there is no way you can change the ownership with non-super user account. If this would have been possible then there is no use of Permissions.

原文地址:https://www.cnblogs.com/144823836yj/p/15205717.html