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 "Byron Wong (JIRA)" <ji...@apache.org> on 2014/10/09 03:08:34 UTC

[jira] [Updated] (HADOOP-6857) FsShell should report raw disk usage including replication factor

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

Byron Wong updated HADOOP-6857:
-------------------------------
    Attachment: HADOOP-6857.patch

Updated [~atm]'s patch to patch on top of trunk.
I'd like to point out that creating a snapshot of a directory will increase the disk usage number reported by -du (-s). Is this what we want?

> FsShell should report raw disk usage including replication factor
> -----------------------------------------------------------------
>
>                 Key: HADOOP-6857
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6857
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Alex Kozlov
>         Attachments: HADOOP-6857.patch, show-space-consumed.txt
>
>
> Currently FsShell report HDFS usage with "hadoop fs -dus <path>" command.  Since replication level is per file level, it would be nice to add raw disk usage including the replication factor (maybe "hadoop fs -dus -raw <path>"?).  This will allow to assess resource usage more accurately.  -- Alex K



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)