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

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

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. HIVE-20805.2.patch
          4 kB
          mahesh kumar behera
        2. HIVE-20805.1.patch
          2 kB
          Thejas Nair
        3. HIVE-20805.03.patch
          4 kB
          mahesh kumar behera

        Activity

          People

            maheshk114 mahesh kumar behera
            maheshk114 mahesh kumar behera
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 20m
                20m