You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Narayanan Venkateswaran (Jira)" <ji...@apache.org> on 2021/06/02 11:09:00 UTC
[jira] [Resolved] (HIVE-25178) Reduce number of getPartition calls
during loadDynamicPartitions for External Tables
[ https://issues.apache.org/jira/browse/HIVE-25178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Narayanan Venkateswaran resolved HIVE-25178.
--------------------------------------------
Resolution: Fixed
Patch pushed. Thank you [~aasha] and [~rajesh.balamohan]
> Reduce number of getPartition calls during loadDynamicPartitions for External Tables
> ------------------------------------------------------------------------------------
>
> Key: HIVE-25178
> URL: https://issues.apache.org/jira/browse/HIVE-25178
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Reporter: Rajesh Balamohan
> Assignee: Narayanan Venkateswaran
> Priority: Major
> Labels: performance, pull-request-available
> Attachments: 0001-HIVE-25178-Reduce-number-of-getPartition-calls-durin.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When dynamic partitions are loaded, Hive::loadDynamicPartition loads all partitions from HMS causing heavy load on it. This becomes worse when large number of partitions are present in tables.
> Only relevant partitions being loaded in dynamic partitions can be queried from HMS for partition existence.
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2958]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)