[
https://issues.apache.org/jira/browse/HIVE-27340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-27340.
--------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> ThreadPool in HS2 over HTTP should respect the customized ThreadFactory
> -----------------------------------------------------------------------
>
> Key: HIVE-27340
> URL: https://issues.apache.org/jira/browse/HIVE-27340
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> In Jetty, ExecutorThreadPool will override the ThreadFactory of
> ThreadPoolExecutor even though the ThreadPoolExecutor has already initialized
> the ThreadFactory,
> {code:java}
> _executor.setThreadFactory(this::newThread); {code}
> Need to ignore such action as we have injected a ThreadFactory into the
> ThreadPoolExecutor.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)