You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/02/03 02:48:00 UTC

[GitHub] [hadoop] jojochuang commented on pull request #3907: HDFS-16432. Namenode block report add yield to avoid holding write lo…

jojochuang commented on pull request #3907:
URL: https://github.com/apache/hadoop/pull/3907#issuecomment-1028551793


   Thanks for opening a PR.
   However, I am not so sure if this is the right approach. The whole design namenode assumes a global namespace lock and within it, data structure access is consistent. Once you yield in the middle, there's no such guarantee and it could run into data races.
   
   As for the block report taking time -- is it still a problem after removing the folded tree set structure (HDFS-13671)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org