Rajesh Balamohan created HIVE-15368:
---------------------------------------

             Summary: consider optimizing Utilities::handleMmTableFinalPath
                 Key: HIVE-15368
                 URL: https://issues.apache.org/jira/browse/HIVE-15368
             Project: Hive
          Issue Type: Sub-task
            Reporter: Rajesh Balamohan
            Priority: Minor


Branch: hive-14535

https://github.com/apache/hive/blob/hive-14535/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L4049

When running "insert overwrite...on partitioned table" with 2000+ partitions, 
good amount of time (~245 seconds) was spent in iterating every mmDirectory 
entry and checking its file listings in S3. Creating this jira to consider 
optimizing this codepath, as information from {{getMmDirectoryCandidates}} 
could be used in terms of reducing the number of times S3 needs to be contacted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to