You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/03/10 09:11:00 UTC
[jira] [Work logged] (HIVE-25032) Optimise PartitionManagementTask
[ https://issues.apache.org/jira/browse/HIVE-25032?focusedWorklogId=850268&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-850268 ]
ASF GitHub Bot logged work on HIVE-25032:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Mar/23 09:10
Start Date: 10/Mar/23 09:10
Worklog Time Spent: 10m
Work Description: saihemanth-cloudera commented on code in PR #4028:
URL: https://github.com/apache/hive/pull/4028#discussion_r1122665618
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionIterable.java:
##########
@@ -102,12 +106,19 @@ private void getNextBatch() {
nameBatch.add(partitionNamesIter.next());
batch_counter++;
}
+
Review Comment:
nit: extra space.
Issue Time Tracking
-------------------
Worklog Id: (was: 850268)
Time Spent: 3h 50m (was: 3h 40m)
> 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
> Time Spent: 3h 50m
> 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)