You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/12/02 09:41:08 UTC

[GitHub] [hbase] sunhelly commented on a change in pull request #3903: HBASE-26525 Use unique thread name for group WALs

sunhelly commented on a change in pull request #3903:
URL: https://github.com/apache/hbase/pull/3903#discussion_r760917091



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
##########
@@ -237,8 +237,8 @@ public AsyncFSWAL(FileSystem fs, Abortable abortable, Path rootDir, String logDi
       ThreadPoolExecutor threadPool =
         new ThreadPoolExecutor(1, 1, 0L,
           TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(),
-            new ThreadFactoryBuilder().setNameFormat("AsyncFSWAL-%d-" + rootDir.toString()).
-              setDaemon(true).build());
+          new ThreadFactoryBuilder().setNameFormat("AsyncFSWAL-%d-prefix:" +

Review comment:
       Thanks @Apache9 , I add the rootDir to the thread name as before.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org