Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21717

Rename is failing for directory in move task

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. HIVE-21717.01.patch
          3 kB
          mahesh kumar behera

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            maheshk114 mahesh kumar behera Assign to me
            maheshk114 mahesh kumar behera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 2h
              2h

              Slack

                Issue deployment