[ 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.3.patch Minor change - reusing FSNamesystem.removePathAndBlock() and removed newly added removePath(). Added some comments to clarify the code better. > 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.3.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.