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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/11/25 01:28:39 UTC

[jira] Created: (HDFS-786) Implement getContentSummary(..) in HftpFileSystem

Implement getContentSummary(..) in HftpFileSystem
-------------------------------------------------

                 Key: HDFS-786
                 URL: https://issues.apache.org/jira/browse/HDFS-786
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Tsz Wo (Nicholas), SZE
            Assignee: Tsz Wo (Nicholas), SZE


HftpFileSystem does not override getContentSummary(..).  As a result, it uses FileSystem's default implementation, which computes content summary on the client side by calling listStatus(..) recursively.  In contrast, DistributedFileSystem has overridden getContentSummary(..) and does the computation on the NameNode.

As a result, running "fs -dus" on hftp is much slower than running it on hdfs.


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