[
https://issues.apache.org/jira/browse/HIVE-17229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241438#comment-16241438
]
Rajesh Balamohan commented on HIVE-17229:
-----------------------------------------
Patch lgtm in terms of reducing the locking contention when {{threadPool}} is
already initialized.
[~yuan_zac] - When you say "locks during initialization", does it hang during
init phase?. Or is the intent to reduce the locking contention?
> HiveMetastore HMSHandler locks during initialization, even though its static
> variable threadPool is not null
> ------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-17229
> URL: https://issues.apache.org/jira/browse/HIVE-17229
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Zac Zhou
> Assignee: Zac Zhou
> Attachments: HIVE-17229.2.patch, HIVE-17229.patch
>
>
> A thread pool is used to accelerate adding partitions operation, since
> [HIVE-13901|https://issues.apache.org/jira/browse/HIVE-13901].
> However, HMSHandler needs a lock during initialization every time, even
> though its static variable threadPool is not null
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)