You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Goyal (Jira)" <ji...@apache.org> on 2021/12/13 17:20:00 UTC

[jira] [Commented] (HIVE-25187) Reduce number of getPartition calls during loadDynamicPartitions for Managed Tables

    [ https://issues.apache.org/jira/browse/HIVE-25187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458555#comment-17458555 ] 

Sourabh Goyal commented on HIVE-25187:
--------------------------------------

Related jira: HIVE-25800

> Reduce number of getPartition calls during loadDynamicPartitions for Managed Tables
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-25187
>                 URL: https://issues.apache.org/jira/browse/HIVE-25187
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Narayanan Venkateswaran
>            Priority: Major
>
> 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.20.1#820001)