[ https://issues.apache.org/jira/browse/HDFS-15177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040016#comment-17040016 ]
Stephen O'Donnell commented on HDFS-15177: ------------------------------------------ The FoldedTreeSet structure is used in both NN and DN. I have seen it behave slowly in both, so when the DN gets slowed down by all the deletes, its worth scanning your jstack traces to see if you see anything like that mentioned in HDFS-15131. > Split datanode invalide block deletion, to avoid the FsDatasetImpl lock too > much time. > -------------------------------------------------------------------------------------- > > Key: HDFS-15177 > URL: https://issues.apache.org/jira/browse/HDFS-15177 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Reporter: zhuqi > Assignee: zhuqi > Priority: Major > Attachments: image-2020-02-18-22-39-00-642.png, > image-2020-02-18-22-51-28-624.png, image-2020-02-18-22-52-59-202.png, > image-2020-02-18-22-55-38-661.png > > > In our cluster, the datanode receive the delete command with too many blocks > deletion when we have many blockpools sharing the same datanode and the > datanode with about 30 storage dirs, it will cause the FsDatasetImpl lock too > much time. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org