[
https://issues.apache.org/jira/browse/HADOOP-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172644#comment-14172644
]
Konstantin Shvachko commented on HADOOP-6857:
---------------------------------------------
Byron, Could you post some examples (printouts) in support of your use case.
??if we setrep 10 a file when we only have 3 datanodes, -du will still multiply
fileLength * 10??
This seems to be consistent with how quotas are calculated. DU should report
numbers consistent with the quotas. We can change diskSpaceConsumed() if people
want more precise usage info both for du and quotas, but at this point it will
be a change in semantics. Let's keep it the current way.
> 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
> Assignee: Byron Wong
> 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)