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

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

                Author: ASF GitHub Bot
            Created on: 22/Feb/22 21:57
            Start Date: 22/Feb/22 21:57
    Worklog Time Spent: 10m 
      Work Description: madrob commented on a change in pull request #4016:
URL: https://github.com/apache/hadoop/pull/4016#discussion_r812391433



##########
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:
       Because the thread id is set during construction and not available to us 
yet.




-- 
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: 731202)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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