hive-issues mailing list archives

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


Sahil Takiar commented on HIVE-13911:

[~hsubramaniyan] this patch states:

// 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.

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
> ----------------------------------------------------------------------------
>                 Key: HIVE-13911
>                 URL:
>             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,
> Similar to HIVE-13857

This message was sent by Atlassian JIRA

View raw message