You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by ro...@apache.org on 2024/12/04 08:41:37 UTC

(incubator-uniffle) 08/15: [MINOR] fix(client): Fix error log for CoordinatorGrpcRetryableClient#accesCluster (#2258)

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

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

commit 2f349976cca2d228d7e1c357f6b2f810b615b1aa
Author: maobaolong <ba...@tencent.com>
AuthorDate: Fri Nov 22 20:45:24 2024 +0800

    [MINOR] fix(client): Fix error log for CoordinatorGrpcRetryableClient#accesCluster (#2258)
    
    ### What changes were proposed in this pull request?
    
    Fix error log for CoordinatorGrpcRetryableClient#accesCluster
    
    ### Why are the changes needed?
    
    The existing log can make user confused.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Correct spark am log
    
    ### How was this patch tested?
    
    No need.
---
 .../apache/uniffle/client/impl/grpc/CoordinatorGrpcRetryableClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/CoordinatorGrpcRetryableClient.java b/internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/CoordinatorGrpcRetryableClient.java
index f4bf3be87..418575fd4 100644
--- a/internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/CoordinatorGrpcRetryableClient.java
+++ b/internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/CoordinatorGrpcRetryableClient.java
@@ -211,7 +211,7 @@ public class CoordinatorGrpcRetryableClient implements CoordinatorClient {
           request.getRetryIntervalMs(),
           request.getRetryTimes());
     } catch (Throwable throwable) {
-      throw new RssException("getShuffleAssignments failed!", throwable);
+      throw new RssException("accessCluster failed!", throwable);
     }
   }