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/09 07:38:15 UTC

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

liubingxing edited a comment on pull request #3907:
URL: https://github.com/apache/hadoop/pull/3907#issuecomment-1033432213


    Hi @sodonnel, I have tried reproducing this problem on a test cluster and the cpu profile of block report process look like as follow.
   ![image](https://user-images.githubusercontent.com/2844826/153139265-e0780e60-c924-4720-8680-16f1dfebac3c.png)
   ![image](https://user-images.githubusercontent.com/2844826/153139376-f57b4ab4-e153-4ca3-819c-95afb49e313f.png)
   ![image](https://user-images.githubusercontent.com/2844826/153139426-48d27252-4367-4e9f-9457-1e128789a0b1.png)
   
   It looks like most of the time were taking by the #processReportedBlock and #moveBlockToHead, and the #moveBlockToHead is necessary after removing the folded tree set structure.
   If you have any good suggestions, please let me know.


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