You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by ni...@apache.org on 2024/04/12 06:17:42 UTC
(celeborn) branch branch-0.4 updated (f4ca2a230 -> c5d366b09)
This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a change to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/celeborn.git
discard f4ca2a230 [CELEBORN-1381] Avoid construct TransportConf when creating CelebornInputStream
new c5d366b09 [CELEBORN-1381] Avoid construct TransportConf when creating CelebornInputStream
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (f4ca2a230)
\
N -- N -- N refs/heads/branch-0.4 (c5d366b09)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/java/org/apache/celeborn/client/read/CelebornInputStream.java | 1 -
1 file changed, 1 deletion(-)
(celeborn) 01/01: [CELEBORN-1381] Avoid construct TransportConf when creating CelebornInputStream
Posted by ni...@apache.org.
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
commit c5d366b094c7be48de3744855009f629929c12b2
Author: onebox-li <ly...@163.com>
AuthorDate: Fri Apr 12 14:06:54 2024 +0800
[CELEBORN-1381] Avoid construct TransportConf when creating CelebornInputStream
---
.../java/org/apache/celeborn/client/read/CelebornInputStream.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
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 a10239bf5..b9a0cdd9f 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
@@ -36,7 +36,6 @@ import org.apache.celeborn.client.compress.Decompressor;
import org.apache.celeborn.common.CelebornConf;
import org.apache.celeborn.common.exception.CelebornIOException;
import org.apache.celeborn.common.network.client.TransportClientFactory;
-import org.apache.celeborn.common.network.util.TransportConf;
import org.apache.celeborn.common.protocol.CompressionCodec;
import org.apache.celeborn.common.protocol.PartitionLocation;
import org.apache.celeborn.common.protocol.StorageInfo;
@@ -210,9 +209,7 @@ public abstract class CelebornInputStream extends InputStream {
} else {
fetchChunkMaxRetry = conf.clientFetchMaxRetriesForEachReplica();
}
- TransportConf transportConf =
- Utils.fromCelebornConf(conf, TransportModuleConstants.DATA_MODULE, 0);
- retryWaitMs = transportConf.ioRetryWaitTimeMs();
+ this.retryWaitMs = conf.networkIoRetryWaitMs(TransportModuleConstants.DATA_MODULE);
this.callback = metricsCallback;
this.exceptionMaker = exceptionMaker;
this.partitionId = partitionId;