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

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

ThinkerLei closed pull request #6454: HDFS-17339:HDFS-17339: Skip cacheReport 
when one blockPool does not have CacheBlock on this DataNode
URL: https://github.com/apache/hadoop/pull/6454




> BPServiceActor should skip cacheReport when one blockPool does not have 
> CacheBlock on this DataNode
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17339
>                 URL: https://issues.apache.org/jira/browse/HDFS-17339
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: lei w
>            Priority: Major
>              Labels: pull-request-available
>
> Now, DataNode will cacheReport to all NameNode when CacheCapacitySize is not 
> zero. But sometimes, not all NameNodes have CacheBlock on this DataNode. So 
> BPServiceActor should skip cacheReport when one blockPool does not have 
> CacheBlock on this DataNode. If so, the NameNode will reduce unnecessary lock 
> contention



--
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