This is an automated email from the ASF dual-hosted git repository.
angerszhuuuu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 938aec0e9 [CELEBORN-528][REFACTOR] limitZeroInFlight should show
inflight target (#1433)
938aec0e9 is described below
commit 938aec0e9f5af4e146634903b427c0c17555e384
Author: Angerszhuuuu <[email protected]>
AuthorDate: Mon Apr 17 11:53:34 2023 +0800
[CELEBORN-528][REFACTOR] limitZeroInFlight should show inflight target
(#1433)
---
.../org/apache/celeborn/common/write/InFlightRequestTracker.java | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git
a/common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java
b/common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java
index 76ffc33ff..f4d12b6c1 100644
---
a/common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java
+++
b/common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java
@@ -22,6 +22,7 @@ import java.util.Optional;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
+import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -148,9 +149,13 @@ public class InFlightRequestTracker {
if (times <= 0) {
logger.error(
- "After waiting for {} ms, there are still {} batches in flight,
expect 0 batches",
+ "After waiting for {} ms, "
+ + "there are still {} batches in flight "
+ + "for hostAndPushPort {}, "
+ + "which exceeds the current limit 0.",
waitInflightTimeoutMs,
- inFlightSize);
+ inFlightSize,
+
inflightBatchesPerAddress.keySet().stream().collect(Collectors.joining(", ",
"[", "]")));
}
if (pushState.exception.get() != null) {