You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/17 10:06:00 UTC

[jira] [Commented] (HDFS-16870) Client ip should also be recorded when NameNode is processing reportBadBlocks

    [ https://issues.apache.org/jira/browse/HDFS-16870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648885#comment-17648885 ] 

ASF GitHub Bot commented on HDFS-16870:
---------------------------------------

Daniel-009497 opened a new pull request, #5237:
URL: https://github.com/apache/hadoop/pull/5237

   There are two scenatio involded for reportBadBlocks
   1-HDFS client will report bad block to NameNode once the block size or data is not consistent with meta;
   2-DataNode will report bad block to NameNode via heartbeat if Replica stored on Datanode is corrupted or be modified.
   
   As for now, when namenode process reportBadBlock rpc request, only DataNode address is logged.
   Client Ip should also be logged to distinguish where the report comes from, which is very useful for trouble shooting.




> 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
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org