This is an automated email from the ASF dual-hosted git repository.
zhouky pushed a commit to branch branch-0.2
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/branch-0.2 by this push:
new 5c82eeb82 [CELEBORN-383] Fix read data might fetch the wrong partition
location. (#1315)
5c82eeb82 is described below
commit 5c82eeb8241d83938e759375d44a3963510c7e0d
Author: Ethan Feng <[email protected]>
AuthorDate: Wed Mar 8 11:07:04 2023 +0800
[CELEBORN-383] Fix read data might fetch the wrong partition location.
(#1315)
---
.../src/main/java/org/apache/celeborn/client/read/RssInputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/client/src/main/java/org/apache/celeborn/client/read/RssInputStream.java
b/client/src/main/java/org/apache/celeborn/client/read/RssInputStream.java
index 66a184692..4cd13eb22 100644
--- a/client/src/main/java/org/apache/celeborn/client/read/RssInputStream.java
+++ b/client/src/main/java/org/apache/celeborn/client/read/RssInputStream.java
@@ -59,7 +59,7 @@ public abstract class RssInputStream extends InputStream {
conf,
clientFactory,
shuffleKey,
- locations,
+ Arrays.copyOf(locations, locations.length),
attempts,
attemptNumber,
startMapIndex,