[
https://issues.apache.org/jira/browse/HDFS-16500?focusedWorklogId=759818&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-759818
]
ASF GitHub Bot logged work on HDFS-16500:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Apr/22 08:07
Start Date: 21/Apr/22 08:07
Worklog Time Spent: 10m
Work Description: smarthanwang commented on PR #4061:
URL: https://github.com/apache/hadoop/pull/4061#issuecomment-1104846793
@Hexiaoqiao thanks you. I would fix the checkstyle later
Issue Time Tracking
-------------------
Worklog Id: (was: 759818)
Time Spent: 2h 20m (was: 2h 10m)
> Make asynchronous blocks deletion lock and unlock durtion threshold
> configurable
> ---------------------------------------------------------------------------------
>
> Key: HDFS-16500
> URL: https://issues.apache.org/jira/browse/HDFS-16500
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namanode
> Reporter: Chengwei Wang
> Assignee: Chengwei Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> I have backport the nice feature HDFS-16043 to our internal branch, it works
> well in our testing cluster.
> I think it's better to make the fields *_deleteBlockLockTimeMs_* and
> *_deleteBlockUnlockIntervalTimeMs_* configurable, so that we can control the
> lock and unlock duration.
> {code:java}
> private final long deleteBlockLockTimeMs = 500;
> private final long deleteBlockUnlockIntervalTimeMs = 100;{code}
> And we should set the default value smaller to avoid blocking other requests
> long time when deleting someĀ large directories.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]