You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aryan Gupta (Jira)" <ji...@apache.org> on 2026/04/22 07:00:00 UTC
[jira] [Assigned] (HDDS-15080) DirectoryDeletingService is using single thread
[ https://issues.apache.org/jira/browse/HDDS-15080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aryan Gupta reassigned HDDS-15080:
----------------------------------
Assignee: Aryan Gupta
> DirectoryDeletingService is using single thread
> -----------------------------------------------
>
> Key: HDDS-15080
> URL: https://issues.apache.org/jira/browse/HDDS-15080
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Ashish Kumar
> Assignee: Aryan Gupta
> Priority: Major
>
>
> Because of [unbounded queue|https://github.com/apache/ozone/blob/31c18dff19c0e852a5d1649bfd8feff393e6eaaf/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java#L255], queue never gets filled and due to this only one thread is working for all the tasks.
> {code:java}
> ## Iteration 9
> 2026-04-21 20:17:31,097 [pool-35-thread-2] INFO service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 5 to DeletedDirectoryTable, iteration elapsed: 66ms, totalRunCount: 9
> ...
> 2026-04-21 20:17:31,114 [pool-35-thread-2] INFO service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms, totalRunCount: 9
> # 10 tasks scheduled on the same thread sequentially
> ## Iteration 10
> 2026-04-21 20:18:01,036 [pool-35-thread-2] INFO service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms, totalRunCount: 10
> ...
> 2026-04-21 20:18:01,051 [pool-35-thread-2] INFO service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms, totalRunCount: 10
> # 10 tasks scheduled on the same thread sequentially {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org