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

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

ThinkerLei opened a new pull request, #6456:
URL: https://github.com/apache/hadoop/pull/6456

   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




> 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