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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/01/02 20:10:34 UTC
[jira] [Updated] (HADOOP-11318) Update the document for hadoop fs
-stat
[ https://issues.apache.org/jira/browse/HADOOP-11318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-11318:
--------------------------------------
Status: Open (was: Patch Available)
> Update the document for hadoop fs -stat
> ---------------------------------------
>
> Key: HADOOP-11318
> URL: https://issues.apache.org/jira/browse/HADOOP-11318
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.5.1
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Labels: newbie
> Attachments: HADOOP-11318-001.patch, HADOOP-11318-002.patch
>
>
> In FileSystemShell.apt.vm,
> {code}
> stat
> Usage: <<<hdfs dfs -stat URI [URI ...]>>>
> Returns the stat information on the path.
> {code}
> Now {{-stat}} accepts the below formats.
> * %b: Size of file in blocks
> * %g: Group name of owner
> * %n: Filename
> * %o: Block size
> * %r: replication
> * %u: User name of owner
> * %y: UTC date as "yyyy-MM-dd HH:mm:ss"
> * %Y: Milliseconds since January 1, 1970 UTC
> They should be documented.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)