Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16627

Improve BPServiceActor#register log to add NameNode address

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • hdfs
    • Reviewed

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              slfan1989 Shilun Fan
              slfan1989 Shilun Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h