[
https://issues.apache.org/jira/browse/HDFS-16290?focusedWorklogId=671782&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-671782
]
ASF GitHub Bot logged work on HDFS-16290:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Oct/21 03:29
Start Date: 29/Oct/21 03:29
Worklog Time Spent: 10m
Work Description: jianghuazhu opened a new pull request #3600:
URL: https://github.com/apache/hadoop/pull/3600
### Description of PR
When the DataNode starting, BPOfferService#verifyAndSetNamespaceInfo() will
be executed. If the namenode being connected is in Active state, the following
information will be recorded:
'
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'handshake' and'Block pool' is too tight, and
the readability is not good.
### How was this patch tested?
This is related to the log, and there is less information to change. For
testing, there is not much pressure.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 671782)
Remaining Estimate: 0h
Time Spent: 10m
> Make log more standardized when executing verifyAndSetNamespaceInfo()
> ---------------------------------------------------------------------
>
> Key: HDFS-16290
> URL: https://issues.apache.org/jira/browse/HDFS-16290
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]