[ 
https://issues.apache.org/jira/browse/HDFS-16478?focusedWorklogId=734374&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-734374
 ]

ASF GitHub Bot logged work on HDFS-16478:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Mar/22 06:48
            Start Date: 01/Mar/22 06:48
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on a change in pull request #4016:
URL: https://github.com/apache/hadoop/pull/4016#discussion_r816490343



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java
##########
@@ -1378,7 +1378,7 @@ public long monotonicNow() {
     private final BlockingQueue<Runnable> queue;
 
     CommandProcessingThread(BPServiceActor actor) {
-      super("Command processor");
+      setName("Command processor-" + getId());

Review comment:
       Makes sense, we should handle federation setup as well. That is what 
will help in actual prod env.
   




-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 734374)
    Time Spent: 2h 10m  (was: 2h)

> Multiple command processor threads have same name
> -------------------------------------------------
>
>                 Key: HDFS-16478
>                 URL: https://issues.apache.org/jira/browse/HDFS-16478
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: datanode
>            Reporter: Mike Drob
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> When running an in-process MiniDFSCluster with multiple data nodes, the 
> command processor threads all share the same name, making them more difficult 
> to get debug and logging information from.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to