Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EFA610705 for ; Mon, 3 Mar 2014 23:12:23 +0000 (UTC) Received: (qmail 93277 invoked by uid 500); 3 Mar 2014 23:12:21 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 93179 invoked by uid 500); 3 Mar 2014 23:12:21 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 93170 invoked by uid 500); 3 Mar 2014 23:12:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 93163 invoked by uid 99); 3 Mar 2014 23:12:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 23:12:21 +0000 Date: Mon, 3 Mar 2014 23:12:21 +0000 (UTC) From: "Mithun Radhakrishnan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6392) Hive (and HCatalog) don't allow super-users to add partitions to tables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918697#comment-13918697 ] Mithun Radhakrishnan commented on HIVE-6392: -------------------------------------------- Hey, Thejas. This failure doesn't look related to the code change. I've resubmitted the patch. I'm hoping for a cleaner run. > 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)