Kihwal Lee created HDFS-4995:
--------------------------------

             Summary: Make getContentSummary() less expensive
                 Key: HDFS-4995
                 URL: https://issues.apache.org/jira/browse/HDFS-4995
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 0.23.9, 2.3.0
            Reporter: Kihwal Lee


When users call du or count DFS command, getContentSummary() method is called 
against namenode. If the directory has many directories and files, it could 
hold the namesystem lock for a long time. We've seen it taking over 20 seconds. 
Namenode should not allow regular users to cause extended locking.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to