You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/04/17 02:31:21 UTC

[jira] Updated: (HADOOP-2219) du like command to count number of files under a given directory

     [ https://issues.apache.org/jira/browse/HADOOP-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-2219:
-------------------------------------------

    Release Note: 
Added a new fs command fs -count for counting the number of bytes, files and directories under a given path.

Added a new RPC getContentSummary(String path) to ClientProtocol.
    Hadoop Flags: [Incompatible change]

> du like command to count number of files under a given directory
> ----------------------------------------------------------------
>
>                 Key: HADOOP-2219
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2219
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Koji Noguchi
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.17.0
>
>         Attachments: 2219_20080226.patch, 2219_20080227.patch, 2219_20080229.patch
>
>
> To keep the total number of files on dfs low, we like the users to be able to easily find out how many files each of their directory contain.   
> Currently, we only have fsck or dfs -lsr which takes time.
> Can I ask for an option for du to show the total number of files (as well as the total size) of a given directory?

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