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

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

hfutatzhanghb commented on PR #5735:
URL: https://github.com/apache/hadoop/pull/5735#issuecomment-1587262858

   @haiyang1987 , Hi, haiyang bro,  please correct me if i understand wrongly.
   1、Your modification is similar to what method BlockManager#removeBlock does.
   2、When datanode receives the invalidating blocks with block size 
BlockCommand.NO_ACK, it will not execute notifyNamenodeDeletedBlock method. is 
it right?
   
   Hoping to receive your response, thanks.




> Process reported block toInvalidate logic should set the block size to NO_ACK
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-17044
>                 URL: https://issues.apache.org/jira/browse/HDFS-17044
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Haiyang Hu
>            Assignee: Haiyang Hu
>            Priority: Major
>              Labels: pull-request-available
>
> When NameNode processes DataNode increment or full block report, if block is 
> not in the blocks map, it will be added to invalidate and the replica should 
> be removed from the data-node, and the block size should be to set NO_ACK,  
> should be reduce some useless DataNode block reports.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to