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 2024/01/22 12:39:19 UTC

[PR] [CELEBORN-1242] Unify celeborn client side thread name format [incubator-celeborn]

AngersZhuuuu opened a new pull request, #2248:
URL: https://github.com/apache/incubator-celeborn/pull/2248

   <!--
   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?
    Unify celeborn client side thread name format
   
   
   ### Why are the changes needed?
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   
   ### 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-1242] Unify celeborn thread name format [incubator-celeborn]

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

   > @AngersZhuuuu, what's the pattern of the unified thread name?
   
   `component-whattodo-xxxer`


-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX commented on code in PR #2248:
URL: https://github.com/apache/incubator-celeborn/pull/2248#discussion_r1462843646


##########
common/src/main/java/org/apache/celeborn/common/network/client/TransportResponseHandler.java:
##########
@@ -95,15 +95,15 @@ public TransportResponseHandler(TransportConf conf, Channel channel) {
         if (pushTimeoutChecker == null) {
           pushTimeoutChecker =
               ThreadUtils.newDaemonThreadPoolScheduledExecutor(
-                  "push-timeout-checker", conf.pushDataTimeoutCheckerThreads());
+                  "celeborn-client-push-timeout-checker", conf.pushDataTimeoutCheckerThreads());

Review Comment:
   This thread is used by clients and workers.



-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

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

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2248?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Comparison is base [(`3422198`)](https://app.codecov.io/gh/apache/incubator-celeborn/commit/3422198dfab98d2cb5cae83f97ec41cadb2063f4?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.62% compared to head [(`6bf0b55`)](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2248?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 47.61%.
   
   > :exclamation: Current head 6bf0b55 differs from pull request most recent head 081278b. Consider uploading reports for the commit 081278b to get more accurate results
   
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@            Coverage Diff             @@
   ##             main    #2248      +/-   ##
   ==========================================
   - Coverage   47.62%   47.61%   -0.00%     
   ==========================================
     Files         192      192              
     Lines       11872    11872              
     Branches     1052     1052              
   ==========================================
   - Hits         5653     5652       -1     
     Misses       5845     5845              
   - Partials      374      375       +1     
   ```
   
   
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/incubator-celeborn/pull/2248?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-1242] Unify celeborn thread name format [incubator-celeborn]

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

   @AngersZhuuuu, what's the pattern of the unified thread name?


-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on code in PR #2248:
URL: https://github.com/apache/incubator-celeborn/pull/2248#discussion_r1462879119


##########
common/src/main/java/org/apache/celeborn/common/network/client/TransportResponseHandler.java:
##########
@@ -95,15 +95,15 @@ public TransportResponseHandler(TransportConf conf, Channel channel) {
         if (pushTimeoutChecker == null) {
           pushTimeoutChecker =
               ThreadUtils.newDaemonThreadPoolScheduledExecutor(
-                  "push-timeout-checker", conf.pushDataTimeoutCheckerThreads());
+                  "celeborn-client-push-timeout-checker", conf.pushDataTimeoutCheckerThreads());

Review Comment:
   > This thread is used by clients and workers.
   
   How about current?



-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

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


##########
client-flink/common/src/main/java/org/apache/celeborn/plugin/flink/RemoteShuffleMaster.java:
##########
@@ -56,9 +56,8 @@ public class RemoteShuffleMaster implements ShuffleMaster<RemoteShuffleDescripto
   private volatile LifecycleManager lifecycleManager;
   private final ShuffleTaskInfo shuffleTaskInfo = new ShuffleTaskInfo();
   private ShuffleResourceTracker shuffleResourceTracker;
-  private final ScheduledThreadPoolExecutor executor =
-      new ScheduledThreadPoolExecutor(
-          1, ThreadUtils.namedThreadFactory("remote-shuffle-master-executor"));
+  private final ScheduledExecutorService executor =
+      ThreadUtils.newDaemonSingleThreadScheduledExecutor("celeborn-remote-shuffle-master-executor");

Review Comment:
   ```suggestion
         ThreadUtils.newDaemonSingleThreadScheduledExecutor("celeborn-client-remote-shuffle-master-executor");
   ```



-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

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

   @AngersZhuuuu, could the pattern of the client thread name be `celeborn-client-component-xxx`, and the pattern of the worker thread name be `worker-component-xxx`?


-- 
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-1242] Unify celeborn thread name format [incubator-celeborn]

Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX closed pull request #2248: [CELEBORN-1242] Unify celeborn thread name format
URL: https://github.com/apache/incubator-celeborn/pull/2248


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