You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2022/03/22 06:57:00 UTC

[jira] [Updated] (HIVE-26058) Choose meaningful names for the Metastore pool threads

     [ https://issues.apache.org/jira/browse/HIVE-26058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihua Deng updated HIVE-26058:
-------------------------------
    Description: 
Due to TThreadPoolServer#createDefaultExecutorService setting the thread name by 
{code:java}
thread.setName("TThreadPoolServer WorkerProcess-%d");  {code}
The logger output the thread name like:
{noformat}
[TThreadPoolServer WorkerProcess-%d] utils.FileUtils: Renaming pfile:/....{noformat}
, which makes it hard to identify and debug a thread.

 

  was:
Due to TThreadPoolServer#createDefaultExecutorService setting the thread name by 

 
{code:java}
thread.setName("TThreadPoolServer WorkerProcess-%d");  {code}
 

The logger output the thread name like:
{noformat}
[TThreadPoolServer WorkerProcess-%d] utils.FileUtils: Renaming pfile:/....{noformat}
, which makes it hard to identify and debug a thread.

 


> Choose meaningful names for the Metastore pool threads
> ------------------------------------------------------
>
>                 Key: HIVE-26058
>                 URL: https://issues.apache.org/jira/browse/HIVE-26058
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zhihua Deng
>            Priority: Major
>
> Due to TThreadPoolServer#createDefaultExecutorService setting the thread name by 
> {code:java}
> thread.setName("TThreadPoolServer WorkerProcess-%d");  {code}
> The logger output the thread name like:
> {noformat}
> [TThreadPoolServer WorkerProcess-%d] utils.FileUtils: Renaming pfile:/....{noformat}
> , which makes it hard to identify and debug a thread.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)