Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 59255 invoked from network); 23 Feb 2008 01:36:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2008 01:36:01 -0000 Received: (qmail 11255 invoked by uid 500); 23 Feb 2008 01:35:55 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 11221 invoked by uid 500); 23 Feb 2008 01:35:55 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 11212 invoked by uid 99); 23 Feb 2008 01:35:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 17:35:55 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2008 01:35:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6EF35234C043 for ; Fri, 22 Feb 2008 17:35:19 -0800 (PST) Message-ID: <467163472.1203730519453.JavaMail.jira@brutus> Date: Fri, 22 Feb 2008 17:35:19 -0800 (PST) From: "Allen Wittenauer (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2219) du like command to count number of files under a given directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571675#action_12571675 ] Allen Wittenauer commented on HADOOP-2219: ------------------------------------------ Why not keep du like du and make a df command instead? > 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 > > 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.