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

ASF GitHub Bot commented on HIVE-20805:
---------------------------------------

GitHub user maheshk114 opened a pull request:

    https://github.com/apache/hive/pull/482

    HIVE-20805 : Hive does not copy source data when importing as non-hive user

    …

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maheshk114/hive HIVE-20805

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/482.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #482
    
----
commit bfd8a8005d6a646d53ab2ab7093da8894e57f911
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-10-30T03:37:38Z

    HIVE-20805 : Hive does not copy source data when importing as non-hive user

----


> 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
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20805.1.patch, HIVE-20805.2.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)

Reply via email to