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

Rename is failing for directory in move task

    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

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              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