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

Make log more standardized when executing verifyAndSetNamespaceInfo()

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When verifyAndSetNamespaceInfo() is executed, the log will record some information. E.g:
      '
      2021-10-27 18:08:36,242 [50867]-INFO [Thread-33:BPOfferService@376]-Acknowledging ACTIVE Namenode during handshakeBlock pool BP-597961518-xxx.xxx.xxx.xxx-1534758275943 (Datanode Uuid 9b2aedc9-f8b2 -4ee2-b99f-877bc6e42c87) service to xxxx.xxx.xxx.org/xxxx.xxx.xxx.xxx:8021
      '
      Here, the connection between the'handshake' and the'Block pool' is too tight, and the readability is not good.

      Attachments

        1. screenshot-1.png
          341 kB
          JiangHua Zhu

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              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 - 1h 50m
                  1h 50m