You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/03/02 23:21:20 UTC
[jira] [Commented] (HIVE-6392) Hive (and HCatalog) don't allow
super-users to add partitions to tables.
[ https://issues.apache.org/jira/browse/HIVE-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917589#comment-13917589 ]
Hive QA commented on HIVE-6392:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12632066/HIVE-6392.patch
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5202 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_bucketmapjoin6
org.apache.hive.service.cli.TestEmbeddedThriftBinaryCLIService.testExecuteStatementAsync
{noformat}
Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1595/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1595/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12632066
> 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
> 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)