You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "Austinfjq (via GitHub)" <gi...@apache.org> on 2025/03/11 23:55:50 UTC

[PR] Enable connection heartbeat and close idle connection [celeborn]

Austinfjq opened a new pull request, #3148:
URL: https://github.com/apache/celeborn/pull/3148

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
     - Be sure to keep the PR description updated to reflect all changes.
     - Please write your PR title to summarize what this PR proposes.
     - If possible, provide a concise example to reproduce the issue for a faster review.
   -->
   
   ### What changes were proposed in this pull request?
   Add new configs to enable connection heartbeat and close idle connection.
   
   
   ### Why are the changes needed?
   Enable client side config which will allow all connections to enable heartbeat and detect connection failure. 
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. Added 2 new configs.
   
   
   ### How was this patch tested?
   Tested in a Flink batch job.
   


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2840745079

   @Austinfjq, IMO, we could deprecate `celeborn.worker.push.heartbeat.enabled` and `celeborn.worker.fetch.heartbeat.enabled` and introduce `celeborn.<module>.heartbeat.enabled` instead. Meanwhile, it's unnecessary to introduce new config option for closing idle connection, which has `celeborn.worker.closeIdleConnections` and `celeborn.client.closeIdleConnections`.
   BTW, you should mentition that if `celeborn.push.heartbeat.enabled` or `celeborn.fetch.heartbeat.enabled` is true, `celeborn.data.heartbeat.enabled` should be true in the doc of `celeborn.<module>.heartbeat.enabled` config.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2768607280

   This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-3003914872

   This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2876245483

   @Austinfjq, any update? Please resolve the conflict of the latest main branch.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "Austinfjq (via GitHub)" <gi...@apache.org>.
Austinfjq commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2839883245

   @FMX  Hi, I pushed the fix. PTAL.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "turboFei (via GitHub)" <gi...@apache.org>.
turboFei commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2917924788

   could you check theCI failure?


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #3148: [CELEBORN-1903] Enable connection heartbeat and close idle connection
URL: https://github.com/apache/celeborn/pull/3148


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "turboFei (via GitHub)" <gi...@apache.org>.
turboFei commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2889020426

   Hi @Austinfjq We plan to release 0.6.0 soon, could you address the comments?


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-3041199499

   This issue was closed because it has been staled for 10 days with no activity.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "Austinfjq (via GitHub)" <gi...@apache.org>.
Austinfjq commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2940816085

   Hi @SteNicholas , I fixed CI. 
   
   I notice that before this PR, default value of `celeborn.worker.closeIdleConnections` is false, while default value of `celeborn.client.closeIdleConnections` is true. Now we're going to replace them with `celeborn.<module>.closeIdleConnections`, whose default value is false. I just wanted to double-check if this change is acceptable.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "SteNicholas (via GitHub)" <gi...@apache.org>.
SteNicholas commented on code in PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#discussion_r2068063871


##########
common/src/main/java/org/apache/celeborn/common/network/TransportContext.java:
##########
@@ -86,12 +86,19 @@ public TransportContext(
       AbstractSource source) {
     this.conf = conf;
     this.msgHandler = msgHandler;
-    this.closeIdleConnections = closeIdleConnections;
+    this.closeIdleConnections = closeIdleConnections || conf.closeIdleConnections();

Review Comment:
   It's better to change the invoke of this contructor instead of changing here.



-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "Austinfjq (via GitHub)" <gi...@apache.org>.
Austinfjq commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2917852246

   @SteNicholas Thank you for the fix in https://github.com/apache/celeborn/pull/3239. Sorry for the late reply. Updated the pull request. 
   cc @turboFei 


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2834520458

   @Austinfjq Hi, can you fix the UTs first? This PR will be helpful.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3148:
URL: https://github.com/apache/celeborn/pull/3148#issuecomment-2798737707

   This issue was closed because it has been staled for 10 days with no activity.


-- 
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-1903] Enable connection heartbeat and close idle connection [celeborn]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #3148: [CELEBORN-1903] Enable connection heartbeat and close idle connection
URL: https://github.com/apache/celeborn/pull/3148


-- 
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