hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7485) Add "-h" option for FSshell -ls
Date Wed, 27 Jul 2011 15:57:09 GMT

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

Hudson commented on HADOOP-7485:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #701 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/701/])
    HADOOP-7485. Add -h option to ls to list file sizes in human readable format. Contributed
by XieXianshan.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1151505
Files : 
* /hadoop/common/trunk/common/src/test/core/org/apache/hadoop/cli/testConf.xml
* /hadoop/common/trunk/common/src/docs/src/documentation/content/xdocs/file_system_shell.xml
* /hadoop/common/trunk/common/CHANGES.txt
* /hadoop/common/trunk/common/src/java/org/apache/hadoop/fs/shell/Ls.java


> Add "-h" option for FSshell -ls 
> --------------------------------
>
>                 Key: HADOOP-7485
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7485
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: XieXianshan
>            Assignee: XieXianshan
>            Priority: Minor
>         Attachments: HADOOP-7485-v0.2.patch, HADOOP-7485.patch
>
>
> Add "-h" for FSshell -ls to format the sizes of files in a human-readable format.
> For instance:
> $hdfs dfs -ls -h /user/hadoop/mylog
> -rw-r--r--   1 root supergroup       1.7k 2011-07-26 20:54 /user/hadoop/mylog

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message