This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/branch-0.4 by this push:
new 74b450660 [CELEBORN-1478] Fix wrong use partitionId as shuffleId when
readPartition
74b450660 is described below
commit 74b450660dd0200f6b004c82ada87b730b44c1c8
Author: Shuang <[email protected]>
AuthorDate: Mon Jun 24 11:44:06 2024 +0800
[CELEBORN-1478] Fix wrong use partitionId as shuffleId when readPartition
### What changes were proposed in this pull request?
Change partitionId to shuffleId
### Why are the changes needed?
As title, Although the partitionId is used as the shuffleId when reading a
partition, it has no effect on the final result
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
PASS GA
Closes #2589 from RexXiong/CELEBORN-1478.
Authored-by: Shuang <[email protected]>
Signed-off-by: SteNicholas <[email protected]>
---
client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java
b/client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java
index 55402f7bb..1366a3332 100644
--- a/client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java
+++ b/client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java
@@ -1652,7 +1652,7 @@ public class ShuffleClientImpl extends ShuffleClient {
ExceptionMaker exceptionMaker,
MetricsCallback metricsCallback)
throws IOException {
- if (partitionId == Utils$.MODULE$.UNKNOWN_APP_SHUFFLE_ID()) {
+ if (shuffleId == Utils$.MODULE$.UNKNOWN_APP_SHUFFLE_ID()) {
logger.warn("Shuffle data is empty for shuffle {}:
UNKNOWN_APP_SHUFFLE_ID.", shuffleId);
return CelebornInputStream.empty();
}