Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6BCF5200BCE for ; Fri, 2 Dec 2016 22:37:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6A918160B27; Fri, 2 Dec 2016 21:37:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B6A3E160B08 for ; Fri, 2 Dec 2016 22:36:59 +0100 (CET) Received: (qmail 36001 invoked by uid 500); 2 Dec 2016 21:36:59 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 35983 invoked by uid 99); 2 Dec 2016 21:36:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 21:36:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2BF22C03DC for ; Fri, 2 Dec 2016 21:36:58 +0000 (UTC) Date: Fri, 2 Dec 2016 21:36:58 +0000 (UTC) From: "Sahil Takiar (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13911) load inpath fails throwing org.apache.hadoop.security.AccessControlException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 21:37:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-13911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716593#comment-15716593 ] Sahil Takiar commented on HIVE-13911: ------------------------------------- [~hsubramaniyan] this patch states: {code} // If we do a rename for a non-local file, we will be transfering the original // file permissions from source to the destination. Else, in case of mvFile() where we // copy from source to destination, we will inherit the destination's parent group ownership. {code} Could you explain this in more detail? When renaming a file on the same filesystem, say from a staging directory to the final table location, why would we want to preserve the permissions of the src file? Wouldn't we want to just set the permissions to be the same as the parent directory (e.g. inherit parent permissions)? > load inpath fails throwing org.apache.hadoop.security.AccessControlException > ---------------------------------------------------------------------------- > > Key: HIVE-13911 > URL: https://issues.apache.org/jira/browse/HIVE-13911 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 2.1.0 > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Fix For: 2.1.0 > > Attachments: HIVE-13911.1.patch, HIVE-13911.2.patch, HIVE-13911.3.patch, HIVE-13911.4.patch, HIVE-13911.5.patch > > > Similar to HIVE-13857 -- This message was sent by Atlassian JIRA (v6.3.4#6332)