[
https://issues.apache.org/jira/browse/HIVE-15368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajesh Balamohan updated HIVE-15368:
------------------------------------
Attachment: HIVE-15368.branch.14535.1.patch
> consider optimizing Utilities::handleMmTableFinalPath
> -----------------------------------------------------
>
> Key: HIVE-15368
> URL: https://issues.apache.org/jira/browse/HIVE-15368
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: hive-14535
> Reporter: Rajesh Balamohan
> Attachments: HIVE-15368.branch.14535.1.patch
>
>
> 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)