You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2018/10/27 00:15:00 UTC

[jira] [Commented] (HIVE-20805) Hive does not copy source data when importing as non-hive user

    [ https://issues.apache.org/jira/browse/HIVE-20805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665786#comment-16665786 ] 

Thejas M Nair commented on HIVE-20805:
--------------------------------------

+1 pending tests


> Hive does not copy source data when importing as non-hive user 
> ---------------------------------------------------------------
>
>                 Key: HIVE-20805
>                 URL: https://issues.apache.org/jira/browse/HIVE-20805
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20805.1.patch
>
>
> while loading data to a managed table from user given path, Hive uses move operation to copy data from user location to table location. In case move can not be used due to permission issue or mismatched encryption zone etc, hive uses copy and then deletes the files from source location to keep to behavior same. But in case the user does not have write access to the source location, delete will fail with file permission exception and load operation will fail. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)