You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/09 16:07:00 UTC

[jira] [Work logged] (HIVE-21717) Rename is failing for directory in move task

     [ https://issues.apache.org/jira/browse/HIVE-21717?focusedWorklogId=442859&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442859 ]

ASF GitHub Bot logged work on HIVE-21717:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 16:06
            Start Date: 09/Jun/20 16:06
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #624:
URL: https://github.com/apache/hive/pull/624#issuecomment-641143469


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 442859)
    Time Spent: 1h 50m  (was: 1h 40m)

> Rename is failing for directory in move task 
> ---------------------------------------------
>
>                 Key: HIVE-21717
>                 URL: https://issues.apache.org/jira/browse/HIVE-21717
>             Project: Hive
>          Issue Type: Bug
>          Components: 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-21717.01.patch
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Rename fails with destination directory not empty in case a directory is move directly to the table location from staging directory as rename cannot overwrite non empty destination directory.
>  
> In replication scenarios, if user does some concurrent write during bootstrap dump, it may happen that some data which are already replicated through bootstrap, will be tried during next incremental load also. This is handled by making the operations reentrant during repl load. But here move task is not able to delete the directory created by bootstrap load even though replace flag is set to true. This is causing the incremental load to fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)