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

Optimise Utilities.removeTempOrDuplicateFiles when moving files to final location

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: Hive
    • Labels:
      None

      Description

      Utilities.removeTempOrDuplicateFiles

      is very slow with cloud storage, as it executes listStatus twice and also runs in single threaded mode.

      https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1629

        Attachments

        1. HIVE-22548.02.patch
          8 kB
          mahesh kumar behera
        2. HIVE-22548.01.patch
          8 kB
          mahesh kumar behera

          Activity

            People

            • Assignee:
              maheshk114 mahesh kumar behera
              Reporter:
              rajesh.balamohan Rajesh Balamohan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: