hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-6392) Hive (and HCatalog) don't allow super-users to add partitions to tables.
Date Wed, 05 Mar 2014 01:27:43 GMT


Hive QA commented on HIVE-6392:

{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 5244 tests passed

Test results:
Console output:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.


> Hive (and HCatalog) don't allow super-users to add partitions to tables.
> ------------------------------------------------------------------------
>                 Key: HIVE-6392
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         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

View raw message