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 3195F10D52 for ; Thu, 25 Jul 2013 00:17:49 +0000 (UTC) Received: (qmail 97977 invoked by uid 500); 25 Jul 2013 00:17:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 97920 invoked by uid 500); 25 Jul 2013 00:17:48 -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 97909 invoked by uid 500); 25 Jul 2013 00:17:48 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 97906 invoked by uid 99); 25 Jul 2013 00:17:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 00:17:48 +0000 Date: Thu, 25 Jul 2013 00:17:48 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3756) "LOAD DATA" does not honor permission inheritence 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-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719076#comment-13719076 ] Chaoyu Tang commented on HIVE-3756: ----------------------------------- [~ashutoshc] & [~sushanth] I uploaded the patch HIVE-3756_2.patch here and also posted it in rb requesting the review. The changes incorporated preserving permission/group in insert overwrite case as discussed here and some review suggestions from Ashutosh. For answers to questions from review, please see https://reviews.apache.org/r/12050/. > "LOAD DATA" does not honor permission inheritence > ------------------------------------------------- > > Key: HIVE-3756 > URL: https://issues.apache.org/jira/browse/HIVE-3756 > Project: Hive > Issue Type: Bug > Components: Authorization, Security > Affects Versions: 0.9.0 > Reporter: Johndee Burks > Assignee: Chaoyu Tang > Attachments: HIVE-3756_1.patch, HIVE-3756_2.patch, HIVE-3756.patch > > > When a "LOAD DATA" operation is performed the resulting data in hdfs for the table does not maintain permission inheritance. This remains true even with the "hive.warehouse.subdir.inherit.perms" set to true. > The issue is easily reproducible by creating a table and loading some data into it. After the load is complete just do a "dfs -ls -R" on the warehouse directory and you will see that the inheritance of permissions worked for the table directory but not for the data. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira