[ 
https://issues.apache.org/jira/browse/HIVE-27340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731819#comment-17731819
 ] 

Zhihua Deng commented on HIVE-27340:
------------------------------------

Fix has been merged into master. Thanks for the review.

> 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)

Reply via email to