This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch HDDS-7593
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/HDDS-7593 by this push:
     new 6a4e6993d3 HDDS-10564. Make Outputstream writeExecutor daemon threads. 
(#6418)
6a4e6993d3 is described below

commit 6a4e6993d37d08f4630d7e1a730b608e31b3dadc
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Sun Mar 24 04:34:42 2024 -0700

    HDDS-10564. Make Outputstream writeExecutor daemon threads. (#6418)
    
    (cherry picked from commit 82c02d3eecf81d40ecec1b54c1fc274d0f7869d6)
---
 .../src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
 
b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
index 3a4d391b00..c990d25735 100644
--- 
a/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
+++ 
b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
@@ -2530,7 +2530,7 @@ public class RpcClient implements ClientProtocol {
        int corePoolSize, int maximumPoolSize, String threadNameFormat) {
     return new ThreadPoolExecutor(corePoolSize, maximumPoolSize,
             60, TimeUnit.SECONDS, new SynchronousQueue<>(),
-               new 
ThreadFactoryBuilder().setNameFormat(threadNameFormat).build(),
+               new 
ThreadFactoryBuilder().setNameFormat(threadNameFormat).setDaemon(true).build(),
                new ThreadPoolExecutor.CallerRunsPolicy());
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to