slfan1989 opened a new pull request, #4419:
URL: https://github.com/apache/hadoop/pull/4419

   JIRA:HDFS-16627. improve BPServiceActor#register Log Add NN Addr.
   
   When I read the log, I think the Addr information of NN should be added to 
make the log information more complete.
   The log is as follows:
   
   ```
   2022-06-06 06:15:32,715 [BP-1990954485-172.17.0.2-1654496132136 heartbeating 
to localhost/127.0.0.1:42811] INFO  datanode.DataNode 
(BPServiceActor.java:register(819)) - Block pool 
BP-1990954485-172.17.0.2-1654496132136 (Datanode Uuid 
7d4b5459-6f2b-4203-bf6f-d31bfb9b6c3f) service to localhost/127.0.0.1:42811 
beginning handshake with NN.
   
   2022-06-06 06:15:32,717 [BP-1990954485-172.17.0.2-1654496132136 heartbeating 
to localhost/127.0.0.1:42811] INFO  datanode.DataNode 
(BPServiceActor.java:register(847)) - Block pool 
BP-1990954485-172.17.0.2-1654496132136 (Datanode Uuid 
7d4b5459-6f2b-4203-bf6f-d31bfb9b6c3f) service to localhost/127.0.0.1:42811 
successfully registered with NN. 
   ```


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