Skip to content

Conversation

@jiang13021
Copy link
Contributor

What changes were proposed in this pull request?

Retry when MasterClient receiving a RpcTimeoutException

Why are the changes needed?

When the MasterClient encounters an RpcTimeoutException, it may indicate that the current master is either busy or unavailable. In such cases, retrying with an alternative master endpoint could work.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit test: org.apache.celeborn.common.client.MasterClientSuiteJ#testOneMasterTimeoutInHA

Copy link
Contributor

@waitinfuture waitinfuture left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Merging to main(v0.5.0)/branch-0.4(v0.4.1)

waitinfuture pushed a commit that referenced this pull request Apr 19, 2024
### What changes were proposed in this pull request?
Retry when MasterClient receiving a RpcTimeoutException

### Why are the changes needed?
When the MasterClient encounters an RpcTimeoutException, it may indicate that the current master is either busy or unavailable. In such cases, retrying with an alternative master endpoint could work.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Unit test: org.apache.celeborn.common.client.MasterClientSuiteJ#testOneMasterTimeoutInHA

Closes #2466 from jiang13021/celeborn-1391.

Authored-by: jiang13021 <jiangyanze.jyz@antgroup.com>
Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
(cherry picked from commit d6fe6f2)
Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
SteNicholas pushed a commit that referenced this pull request Apr 23, 2024
### What changes were proposed in this pull request?
Retry when MasterClient receiving a RpcTimeoutException

### Why are the changes needed?
When the MasterClient encounters an RpcTimeoutException, it may indicate that the current master is either busy or unavailable. In such cases, retrying with an alternative master endpoint could work.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Unit test: org.apache.celeborn.common.client.MasterClientSuiteJ#testOneMasterTimeoutInHA

Closes #2466 from jiang13021/celeborn-1391.

Authored-by: jiang13021 <jiangyanze.jyz@antgroup.com>
Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
SteNicholas pushed a commit that referenced this pull request Apr 23, 2024
### What changes were proposed in this pull request?
Fix MasterClient construct method use in MasterClientSuiteJ.

### Why are the changes needed?
MasterClient's construct method has changed by #2281 on main. It's a feature to support authentication on branch-0.5.

#2466 's backport on branch-0.4 here caused a conflict in MasterClientSuiteJ.java:319.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Local compile test.

Closes #2475 from onebox-li/branch-0.4-fix-compile.

Authored-by: onebox-li <lyh-36@163.com>
Signed-off-by: SteNicholas <programgeek@163.com>
cfmcgrady pushed a commit to cfmcgrady/incubator-celeborn that referenced this pull request Aug 21, 2025
### What changes were proposed in this pull request?
Retry when MasterClient receiving a RpcTimeoutException

### Why are the changes needed?
When the MasterClient encounters an RpcTimeoutException, it may indicate that the current master is either busy or unavailable. In such cases, retrying with an alternative master endpoint could work.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Unit test: org.apache.celeborn.common.client.MasterClientSuiteJ#testOneMasterTimeoutInHA

Closes apache#2466 from jiang13021/celeborn-1391.

Authored-by: jiang13021 <jiangyanze.jyz@antgroup.com>
Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com>
cfmcgrady pushed a commit to cfmcgrady/incubator-celeborn that referenced this pull request Aug 21, 2025
### What changes were proposed in this pull request?
Fix MasterClient construct method use in MasterClientSuiteJ.

### Why are the changes needed?
MasterClient's construct method has changed by apache#2281 on main. It's a feature to support authentication on branch-0.5.

apache#2466 's backport on branch-0.4 here caused a conflict in MasterClientSuiteJ.java:319.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Local compile test.

Closes apache#2475 from onebox-li/branch-0.4-fix-compile.

Authored-by: onebox-li <lyh-36@163.com>
Signed-off-by: SteNicholas <programgeek@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants