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 2021/04/29 13:14:00 UTC
[jira] [Updated] (HIVE-25075) Hive::loadPartitionInternal
establishes HMS connection for every partition for external tables
[ https://issues.apache.org/jira/browse/HIVE-25075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-25075:
----------------------------------
Labels: pull-request-available (was: )
> Hive::loadPartitionInternal establishes HMS connection for every partition for external tables
> ----------------------------------------------------------------------------------------------
>
> Key: HIVE-25075
> URL: https://issues.apache.org/jira/browse/HIVE-25075
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2522
> {code}
> boolean needRecycle = !tbl.isTemporary()
> && ReplChangeManager.shouldEnableCm(Hive.get().getDatabase(tbl.getDbName()), tbl.getTTable());
> {code}
> Hive.get() breaks the current connection with HMS. Due to this, for external table partition loads, it establishes HMS connection for partition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)