[ https://issues.apache.org/jira/browse/HDFS-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HDFS-173: --------------------------------- Attachment: HDFS-173.2.patch Attaching a patch that incorporates changes from comments. The changes: # Deleting file and directory now use same code path # No sleep during block deletion and related changes in the test to create more blocks during the test > Recursively deleting a directory with millions of files makes NameNode > unresponsive for other commands until the deletion completes > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-173 > URL: https://issues.apache.org/jira/browse/HDFS-173 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Attachments: HDFS-173.1.patch, HDFS-173.2.patch, HDFS-173.patch > > > Delete a directory with millions of files. This could take several minutes > (observed 12 mins for 9 million files). While the operation is in progress > FSNamesystem lock is held and the requests from clients are not handled until > deletion completes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.