fanshilun created HDFS-16627: -------------------------------- Summary: improve BPServiceActor#register Log Add NN Info Key: HDFS-16627 URL: https://issues.apache.org/jira/browse/HDFS-16627 Project: Hadoop HDFS Issue Type: Improvement Components: hdfs Affects Versions: 3.4.0 Reporter: fanshilun Assignee: fanshilun Fix For: 3.4.0
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: {code:java} 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. {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org