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] Updated: (HADOOP-6857) FsShell should report raw disk usage including replication factor
Date Mon, 19 Jul 2010 21:57:53 GMT

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

Eli Collins updated HADOOP-6857:
--------------------------------

         Hadoop Flags: [Incompatible change]
        Fix Version/s: 0.22.0
    Affects Version/s:     (was: 0.20.2)

Hey Aaron,

Patch looks good.  Mind creating o.a.h.fs.TestFsShell.java and adding a test that shows files
with two different replication levels works? (might need to mock up the replication level).
 Also, please test that TestShell and TestHDFSCLI in HDFS still pass for sanity.

Wrt to rationale I think this change is kosher since FileStatus#getReplication is not hdfs-specific.


Marking the jira as an incompatible change since IIRC the FsShell is considered a public API.

Thanks,
Eli

> 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