smarthanwang opened a new pull request #4061:
URL: https://github.com/apache/hadoop/pull/4061


   https://issues.apache.org/jira/browse/HDFS-16500
   
   I have backport the nice feature 
[HDFS-16043](https://issues.apache.org/jira/browse/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.
   
   ```
   private final long deleteBlockLockTimeMs = 500;
   private final long deleteBlockUnlockIntervalTimeMs = 100;
   ```
   And we should set the default value smaller to avoid blocking other requests 
long time when deleting some  large directories.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to