[ 
https://issues.apache.org/jira/browse/HDFS-16500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated HDFS-16500:
---------------------------------
    Description: 
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  fileds 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 delete some  large directories.

  was:
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  fileds deleteBlockLockTimeMs and 
deleteBlockUnlockIntervalTimeMs configurable, so that we can control the lock 
and unlock duration. And we should set the default value smaller to avoid 
blocking other requests long time.


> 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
>
> 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  fileds 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 delete some  large directories.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to