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

ethanfeng pushed a commit to branch branch-0.5
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/branch-0.5 by this push:
     new 29c95fcf9 [MINOR] Fix typo in ExceptionUtils
29c95fcf9 is described below

commit 29c95fcf9a5e946325882f4072598f3c6b9b2de3
Author: jiang13021 <[email protected]>
AuthorDate: Wed Oct 23 16:08:16 2024 +0800

    [MINOR] Fix typo in ExceptionUtils
    
    ### What changes were proposed in this pull request?
    Fix typo.
    
    ### Why are the changes needed?
    The error message was changed in [this pull 
request](https://github.com/apache/celeborn/pull/1097), but the connectFail 
method in org.apache.celeborn.common.util.ExceptionUtils has not been updated.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    No need.
    
    Closes #2841 from jiang13021/minor-cause-typo.
    
    Authored-by: jiang13021 <[email protected]>
    Signed-off-by: mingji <[email protected]>
    (cherry picked from commit 7018996e24225edbad14d9511ccce1ebb16d7917)
    Signed-off-by: mingji <[email protected]>
---
 .../src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/common/src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java 
b/common/src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java
index 6652e99ef..dc1d8687f 100644
--- a/common/src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java
+++ b/common/src/main/java/org/apache/celeborn/common/util/ExceptionUtils.java
@@ -63,6 +63,6 @@ public class ExceptionUtils {
   public static boolean connectFail(String message) {
     return (message.startsWith("Connection from ") && message.endsWith(" 
closed"))
         || (message.equals("Connection reset by peer"))
-        || (message.startsWith("Failed to send RPC "));
+        || (message.startsWith("Failed to send request "));
   }
 }

Reply via email to