[
https://issues.apache.org/jira/browse/HIVE-20908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887486#comment-16887486
]
Rajkumar Singh commented on HIVE-20908:
---------------------------------------
by passing a pattern/dbnames in a single call will make the HMS stall while
pulling so many objects in one go. I think HIVE-19432 is good for embedded HMS
but for remote HMS we may need to work on making ObjectStore.getTableMeta call
fast
https://github.com/apache/hive/blob/2a625f77ff5d5b46366e9ce253896c53f4fd9fe4/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L1822-L1821
I will try to optimize ObjectStore.getTableMeta so that it can sustain
gettablemeta call for huge no of databases (tables).
> Avoid multiple getTableMeta calls during GetTablesOperation.
> ------------------------------------------------------------
>
> Key: HIVE-20908
> URL: https://issues.apache.org/jira/browse/HIVE-20908
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 3.1.1
> Reporter: Rajkumar Singh
> Assignee: Rajkumar Singh
> Priority: Minor
> Labels: performance
> Attachments: HIVE-20908.patch
>
>
> following HIVE-19432, we are doing getTableMeta for each authorized db
> instead of that we can pass pattern for metastore.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)