[
https://issues.apache.org/jira/browse/HDFS-16870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033992#comment-18033992
]
ASF GitHub Bot commented on HDFS-16870:
---------------------------------------
github-actions[bot] closed pull request #5237: HDFS-16870 HDFS client ip should
also be logged when NameNode is processing reportBadBlocks
URL: https://github.com/apache/hadoop/pull/5237
> Client ip should also be recorded when NameNode is processing reportBadBlocks
> -----------------------------------------------------------------------------
>
> Key: HDFS-16870
> URL: https://issues.apache.org/jira/browse/HDFS-16870
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Daniel Ma
> Priority: Trivial
> Labels: pull-request-available
>
> There are two scenario involved for reportBadBlocks.
> 1-HDFS client will report bad block to NameNode once the block size is
> inconsitent with meta;
> 2-DataNode will report bad block to NameNode via heartbeat if Replica stored
> on DataNode is corrupted or be modified.
> Currently, when namenode process reportBadBlock rpc request, only DataNode
> address is recorded in Log msg,
> Client Ip should also be recorded to distinguish where the report comes from,
> which is very useful for trouble shooting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]