hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahil Takiar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13911) load inpath fails throwing org.apache.hadoop.security.AccessControlException
Date Fri, 02 Dec 2016 21:36:58 GMT

    [ 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)

Mime
View raw message