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