You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2023/03/23 15:11:00 UTC

[jira] [Resolved] (HIVE-25032) Optimise PartitionManagementTask

     [ https://issues.apache.org/jira/browse/HIVE-25032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihua Deng resolved HIVE-25032.
--------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Optimise PartitionManagementTask
> --------------------------------
>
>                 Key: HIVE-25032
>                 URL: https://issues.apache.org/jira/browse/HIVE-25032
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> When large number of tables and dbs are present, it takes lot of time to iterate over all tables in PartitionManagementTask.
> If table parameters are populated in TableMeta, it will cut down lots of interactions with HMS in PartitionManagementTask.
>  
> Code Ref:
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L126]
>  
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L132]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)