[
https://issues.apache.org/jira/browse/HDFS-17917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
KWON BYUNGCHANG updated HDFS-17917:
-----------------------------------
Description:
When deleting empty directory, empty list is added to markedDeleteQueue.
I think this is unnecessary. and markedDeleteQueue.size() is {{O(n)}}
operation, so it is costly.
was:
When deleting empty directory, empty list is added to markedDeleteQueue.
I think this is unnecessary. and markedDeleteQueue.size() is `O(n)` operation,
so it is costly.
> Fix empty block list enqueue in markedDeleteQueue
> -------------------------------------------------
>
> Key: HDFS-17917
> URL: https://issues.apache.org/jira/browse/HDFS-17917
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: KWON BYUNGCHANG
> Priority: Minor
> Attachments: HDFS-17917.001.patch, HDFS-17917.002.patch
>
>
> When deleting empty directory, empty list is added to markedDeleteQueue.
> I think this is unnecessary. and markedDeleteQueue.size() is {{O(n)}}
> operation, so it is costly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]