hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6857) FsShell should report raw disk usage including replication factor
Date Tue, 14 Sep 2010 21:57:35 GMT

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

Eli Collins commented on HADOOP-6857:
-------------------------------------

Why do we have separate "dus" and "count" commands?  They seem to duplicate each other.  Since
the CLI needs to be backwards compatible not suggesting we remove one, but perhaps we should
update the hdfs_shell docs to make it clear that they display the same info if there are not
significant differences.

{code}
~ $ hadoop fs -dus /user/eli
hdfs://haus01.sf.cloudera.com:10020/user/eli	86183666860
{code}

{code}
~ $ hadoop fs -count /user/eli
           7           51        86183666860 hdfs://haus01.sf.cloudera.com:10020/user/eli
~ $ 
{code}

> 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
>             Fix For: 0.22.0
>
>         Attachments: 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message