You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "reswqa (via GitHub)" <gi...@apache.org> on 2024/10/29 09:11:06 UTC
[PR] [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases [celeborn]
reswqa opened a new pull request, #2859:
URL: https://github.com/apache/celeborn/pull/2859
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a faster review.
-->
### What changes were proposed in this pull request?
1. Add Flink Hybrid Shuffle IT test cases
2. Fix bug in open stream.
### Why are the changes needed?
Test coverage for celeborn + hybrid shuffle
### Does this PR introduce _any_ user-facing change?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases [celeborn]
Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas closed pull request #2859: [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases
URL: https://github.com/apache/celeborn/pull/2859
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases [celeborn]
Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on PR #2859:
URL: https://github.com/apache/celeborn/pull/2859#issuecomment-2451582427
Thanks. Merged to main(v0.6.0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases [celeborn]
Posted by "RexXiong (via GitHub)" <gi...@apache.org>.
RexXiong commented on code in PR #2859:
URL: https://github.com/apache/celeborn/pull/2859#discussion_r1825372415
##########
client-flink/common/src/main/java/org/apache/celeborn/plugin/flink/readclient/CelebornBufferStream.java:
##########
@@ -255,6 +256,12 @@ private void openStreamInternal(@Nullable BiConsumer<Long, Integer> requiredSegm
.setInitialCredit(initialCredit)
.build()
.toByteArray());
+ final SettableFuture<Void> resultFuture;
Review Comment:
Could we create a new method in TransportClient for the sync rpc?
`public ByteBuffer sendRpcSync(ByteBuffer message, RpcResponseCallback callback, long timeoutMs)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1490][CIP-6] Add Flink Hybrid Shuffle IT test cases [celeborn]
Posted by "reswqa (via GitHub)" <gi...@apache.org>.
reswqa commented on code in PR #2859:
URL: https://github.com/apache/celeborn/pull/2859#discussion_r1823706442
##########
client-flink/common/src/main/java/org/apache/celeborn/plugin/flink/readclient/CelebornBufferStream.java:
##########
@@ -312,8 +323,19 @@ public void onFailure(Throwable e) {
shuffleKey,
NettyUtils.getRemoteAddress(client.getChannel()));
messageConsumer.accept(new TransportableError(streamId, e));
+ if (resultFuture != null) {
+ resultFuture.set(null);
+ }
}
});
+
+ if (sync) {
+ try {
+ resultFuture.get();
Review Comment:
We should `openStream` synchronized as `requiredSegmentId` RPC have to be sent after open.
##########
client-flink/common/src/main/java/org/apache/celeborn/plugin/flink/readclient/CelebornBufferStream.java:
##########
@@ -312,8 +323,19 @@ public void onFailure(Throwable e) {
shuffleKey,
NettyUtils.getRemoteAddress(client.getChannel()));
messageConsumer.accept(new TransportableError(streamId, e));
+ if (resultFuture != null) {
+ resultFuture.set(null);
+ }
}
});
+
+ if (sync) {
+ try {
+ resultFuture.get();
Review Comment:
We should `openStream` synchronized as `requireSegmentId` RPC have to be sent after open.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org