You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2010/09/12 00:31:32 UTC

[jira] Created: (HDFS-1393) When a directory with huge number of files is deleted, the NN becomes unresponsive

When a directory with huge number of files is deleted, the NN becomes unresponsive
----------------------------------------------------------------------------------

                 Key: HDFS-1393
                 URL: https://issues.apache.org/jira/browse/HDFS-1393
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
            Reporter: dhruba borthakur


If one deletes a directory with about 2 million files, the namenode becomes unresponsive for close to 20 seconds. The reason being that the FSnamesystem lock is held while all the blocks/namespace-entries are freed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HDFS-1393) When a directory with huge number of files is deleted, the NN becomes unresponsive

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur resolved HDFS-1393.
------------------------------------

    Resolution: Duplicate

duplicate of HDFS-1143

> When a directory with huge number of files is deleted, the NN becomes unresponsive
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-1393
>                 URL: https://issues.apache.org/jira/browse/HDFS-1393
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>            Reporter: dhruba borthakur
>
> If one deletes a directory with about 2 million files, the namenode becomes unresponsive for close to 20 seconds. The reason being that the FSnamesystem lock is held while all the blocks/namespace-entries are freed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.