You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by re...@apache.org on 2023/11/23 11:58:42 UTC
(incubator-celeborn) branch branch-0.3 updated: [CELEBORN-1123] Fix log error in createReaderWithRetry method
This is an automated email from the ASF dual-hosted git repository.
rexxiong pushed a commit to branch branch-0.3
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/branch-0.3 by this push:
new a8a3e6b5e [CELEBORN-1123] Fix log error in createReaderWithRetry method
a8a3e6b5e is described below
commit a8a3e6b5e87b8129179fd97093db1a7e179bffca
Author: jiaoqingbo <11...@qq.com>
AuthorDate: Thu Nov 23 19:58:13 2023 +0800
[CELEBORN-1123] Fix log error in createReaderWithRetry method
### What changes were proposed in this pull request?
As Title
### Why are the changes needed?
As Title
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
PASS GA
Closes #2111 from jiaoqingbo/1138.
Authored-by: jiaoqingbo <11...@qq.com>
Signed-off-by: Shuang <lv...@gmail.com>
(cherry picked from commit 9a104f9c716f960ccf8dea0991a649bbfcbb35e7)
Signed-off-by: Shuang <lv...@gmail.com>
---
.../main/java/org/apache/celeborn/client/read/CelebornInputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java b/client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java
index 133ac5cd2..141ae7b7a 100644
--- a/client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java
+++ b/client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java
@@ -315,13 +315,13 @@ public abstract class CelebornInputStream extends InputStream {
if (fetchChunkRetryCnt % 2 == 0) {
Uninterruptibles.sleepUninterruptibly(retryWaitMs, TimeUnit.MILLISECONDS);
}
- location = location.getPeer();
logger.warn(
"CreatePartitionReader failed {}/{} times for location {}, change to peer",
fetchChunkRetryCnt,
fetchChunkMaxRetry,
location,
e);
+ location = location.getPeer();
} else {
logger.warn(
"CreatePartitionReader failed {}/{} times for location {}, retry the same location",