[ https://issues.apache.org/jira/browse/HIVE-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-6392: -------------------------------- Resolution: Fixed Fix Version/s: 0.13.0 Status: Resolved (was: Patch Available) Patch committed to trunk. Thanks for the contribution Mithun! > Hive (and HCatalog) don't allow super-users to add partitions to tables. > ------------------------------------------------------------------------ > > Key: HIVE-6392 > URL: https://issues.apache.org/jira/browse/HIVE-6392 > Project: Hive > Issue Type: Bug > Components: Authorization > Affects Versions: 0.12.0, 0.13.0 > Reporter: Mithun Radhakrishnan > Assignee: Mithun Radhakrishnan > Fix For: 0.13.0 > > Attachments: HIVE-6392.branch-0.12.patch, HIVE-6392.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)