You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2012/06/21 16:58:42 UTC

[jira] [Commented] (HADOOP-8497) Shell needs a way to list amount of physical consumed space in a directory

    [ https://issues.apache.org/jira/browse/HADOOP-8497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398469#comment-13398469 ] 

Daryn Sharp commented on HADOOP-8497:
-------------------------------------

Would a {{du}} option that reports sizes after multiplying by the replication factor address this issue?
                
> Shell needs a way to list amount of physical consumed space in a directory
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-8497
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8497
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 1.0.3, 2.0.0-alpha, 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Andy Isaacson
>
> Currently, there is no way to see the physical consumed space for a directory. du lists the logical (pre-replication) space, and "fs -count" only displays the consumed space when a quota is set. This makes it hard for administrators to set a quota on a directory, since they have no way to determine a reasonable value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira