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

Optimise Utilities.removeTempOrDuplicateFiles when moving files to final location

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.2
    • None
    • Hive
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: