You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/08/25 08:48:00 UTC

[jira] [Created] (HDFS-12354) Improve the throttle algorithm in Datanode BlockDeletingService

Weiwei Yang created HDFS-12354:
----------------------------------

             Summary: Improve the throttle algorithm in Datanode BlockDeletingService 
                 Key: HDFS-12354
                 URL: https://issues.apache.org/jira/browse/HDFS-12354
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: datanode, ozone
            Reporter: Weiwei Yang
            Assignee: Weiwei Yang


{{BlockDeletingService}} is a per-datanode container block deleting service takes in charge of the "real" deletion of ozone blocks. It spawns a worker thread per container and delete blocks/chunks from disk as background threads. The number of threads currently is throttled by {{ozone.block.deleting.container.limit.per.interval}}, but there is a potential problem. Containers are sorted so it always fetch same of containers, we need to fix this by creating an API in {{ContainerManagerImpl}} to get a shuffled list of containers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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