Rajesh Balamohan created HIVE-22548:
---------------------------------------

             Summary: Optimise Utilities.removeTempOrDuplicateFiles when moving 
files to final location
                 Key: HIVE-22548
                 URL: https://issues.apache.org/jira/browse/HIVE-22548
             Project: Hive
          Issue Type: Improvement
          Components: Hive
    Affects Versions: 3.1.2
            Reporter: Rajesh Balamohan


{{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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to