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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/11/19 16:52:33 UTC

[jira] [Created] (HADOOP-11318) Update the document for hadoop fs -stat

Akira AJISAKA created HADOOP-11318:
--------------------------------------

             Summary: 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


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 &quot;yyyy-MM-dd HH:mm:ss&quot;
 *   %Y: Milliseconds since January 1, 1970 UTC

They should be documented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)