You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "AngersZhuuuu (via GitHub)" <gi...@apache.org> on 2023/12/21 09:35:25 UTC
[PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
AngersZhuuuu opened a new pull request, #2183:
URL: https://github.com/apache/incubator-celeborn/pull/2183
### What changes were proposed in this pull request?
Celeborn wait task timeout error message should show correct corresponding batch and target host and port
### Why are the changes needed?
Current error log here is confused, can't found out the target hostAndPushPort that have problem.
### Does this PR introduce _any_ user-facing change?
Refactor log help debug
### How was this patch tested?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on code in PR #2183:
URL: https://github.com/apache/incubator-celeborn/pull/2183#discussion_r1434661304
##########
common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java:
##########
@@ -164,12 +164,13 @@ public boolean limitZeroInFlight() throws IOException {
if (times <= 0) {
logger.error(
"After waiting for {} ms, "
- + "there are still {} batches in flight "
- + "for hostAndPushPort {}, "
+ + "there are still {} in flight, "
+ "which exceeds the current limit 0.",
waitInflightTimeoutMs,
- totalInflightReqs.sum(),
- inflightBatchesPerAddress.keySet().stream().collect(Collectors.joining(", ", "[", "]")));
+ inflightBatchesPerAddress.entrySet().stream()
+ .filter(c -> c.getValue().size() > 0)
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on code in PR #2183:
URL: https://github.com/apache/incubator-celeborn/pull/2183#discussion_r1433951609
##########
common/src/main/java/org/apache/celeborn/common/write/InFlightRequestTracker.java:
##########
@@ -164,12 +164,13 @@ public boolean limitZeroInFlight() throws IOException {
if (times <= 0) {
logger.error(
"After waiting for {} ms, "
- + "there are still {} batches in flight "
- + "for hostAndPushPort {}, "
+ + "there are still {} in flight, "
+ "which exceeds the current limit 0.",
waitInflightTimeoutMs,
- totalInflightReqs.sum(),
- inflightBatchesPerAddress.keySet().stream().collect(Collectors.joining(", ", "[", "]")));
+ inflightBatchesPerAddress.entrySet().stream()
+ .filter(c -> c.getValue().size() > 0)
Review Comment:
```suggestion
.filter(c -> !c.getValue().isEmpty())
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #2183:
URL: https://github.com/apache/incubator-celeborn/pull/2183#issuecomment-1867417965
Merged to main/0.4/0.3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #2183:
URL: https://github.com/apache/incubator-celeborn/pull/2183#issuecomment-1865961109
## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
Attention: `4 lines` in your changes are missing coverage. Please review.
> Comparison is base [(`4304be1`)](https://app.codecov.io/gh/apache/incubator-celeborn/commit/4304be1a60c4d3371354ff92f4ed4a807d8840e2?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.33% compared to head [(`9b60a99`)](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.31%.
> :exclamation: Current head 9b60a99 differs from pull request most recent head 854a2ad. Consider uploading reports for the commit 854a2ad to get more accurate results
| [Files](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [.../celeborn/common/write/InFlightRequestTracker.java](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9jZWxlYm9ybi9jb21tb24vd3JpdGUvSW5GbGlnaHRSZXF1ZXN0VHJhY2tlci5qYXZh) | 0.00% | [4 Missing :warning: ](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #2183 +/- ##
==========================================
- Coverage 47.33% 47.31% -0.02%
==========================================
Files 185 185
Lines 11697 11699 +2
Branches 1041 1041
==========================================
- Hits 5536 5534 -2
- Misses 5797 5800 +3
- Partials 364 365 +1
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2183?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port [incubator-celeborn]
Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed pull request #2183: [CELEBORN-1192][BUG] Celeborn wait task timeout error message should show correct corresponding batch and target host and port
URL: https://github.com/apache/incubator-celeborn/pull/2183
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org