Hexiaoqiao commented on code in PR #8976:
URL: https://github.com/apache/hadoop/pull/8976#discussion_r4609964261


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java:
##########
@@ -319,6 +319,8 @@ private void connectToNNAndHandshake() throws IOException {
 
     /* set thread name again to include NamespaceInfo when it's available. */
     this.bpThread.setName(formatThreadName("heartbeating", nnAddr));
+    this.commandProcessingThread.setName(

Review Comment:
   Make sense to me. But I am confused if we need to reset thread name here. 
IIUC, BlockPoolId and NameserviceID are one-to-one, and both of them can point 
to the right thread. Any other consideration?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to