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

zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new eb098e631 [#1157] fix(tez): Container not exit because shuffle client 
is not closed
eb098e631 is described below

commit eb098e63120a4cddb3e48c5c095eaedc3dc70446
Author: Qing <[email protected]>
AuthorDate: Sun Dec 24 18:50:05 2023 +0800

    [#1157] fix(tez): Container not exit because shuffle client is not closed
    
    ### What changes were proposed in this pull request?
    
    The container does not exit because shuffleclient is not closed
    
    ### Why are the changes needed?
    
    The container does not exit because shuffleclient is not closed.
    
    Fix: https://github.com/apache/incubator-uniffle/issues/1157
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    unit tests
---
 .../tez/runtime/library/common/sort/buffer/WriteBufferManager.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/client-tez/src/main/java/org/apache/tez/runtime/library/common/sort/buffer/WriteBufferManager.java
 
b/client-tez/src/main/java/org/apache/tez/runtime/library/common/sort/buffer/WriteBufferManager.java
index af4d5cea4..1c8312490 100644
--- 
a/client-tez/src/main/java/org/apache/tez/runtime/library/common/sort/buffer/WriteBufferManager.java
+++ 
b/client-tez/src/main/java/org/apache/tez/runtime/library/common/sort/buffer/WriteBufferManager.java
@@ -436,5 +436,6 @@ public class WriteBufferManager<K, V> {
 
   public void freeAllResources() {
     sendExecutorService.shutdownNow();
+    shuffleWriteClient.close();
   }
 }

Reply via email to