Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0, 0.13.0
-
None
Description
HDFS allows for users to be added to a "supergroup" (identified by the "dfs.permissions.superusergroup" key in hdfs-site.xml). Users in this group are allowed to modify HDFS contents regardless of the path's ogw permissions.
However, Hive's StorageBasedAuthProvider disallows such a superuser from adding partitions to any table that doesn't explicitly grant write permissions to said superuser. This causes the odd scenario where the superuser writes data to a partition-directory (under the table's path), but can't register the appropriate partition.
I have a patch that brings the Metastore's behaviour in line with what the HDFS allows.