You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cd...@apache.org on 2009/03/25 00:43:37 UTC
svn commit: r758087 - in /hadoop/core/branches/branch-0.20: CHANGES.txt
src/docs/src/documentation/content/xdocs/hdfs_shell.xml
Author: cdouglas
Date: Tue Mar 24 23:43:36 2009
New Revision: 758087
URL: http://svn.apache.org/viewvc?rev=758087&view=rev
Log:
HADOOP-4719. Fix documentation of 'ls' format for FsShell. Contributed by Ravi Phulari
Modified:
hadoop/core/branches/branch-0.20/CHANGES.txt
hadoop/core/branches/branch-0.20/src/docs/src/documentation/content/xdocs/hdfs_shell.xml
Modified: hadoop/core/branches/branch-0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.20/CHANGES.txt?rev=758087&r1=758086&r2=758087&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.20/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.20/CHANGES.txt Tue Mar 24 23:43:36 2009
@@ -863,6 +863,9 @@
HADOOP-5231. Clones the TaskStatus before passing it to the JobInProgress.
(Amareshwari Sriramadasu via ddas)
+ HADOOP-4719. Fix documentation of 'ls' format for FsShell. (Ravi Phulari
+ via cdouglas)
+
Release 0.19.1 - 2009-02-23
IMPROVEMENTS
Modified: hadoop/core/branches/branch-0.20/src/docs/src/documentation/content/xdocs/hdfs_shell.xml
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.20/src/docs/src/documentation/content/xdocs/hdfs_shell.xml?rev=758087&r1=758086&r2=758087&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.20/src/docs/src/documentation/content/xdocs/hdfs_shell.xml (original)
+++ hadoop/core/branches/branch-0.20/src/docs/src/documentation/content/xdocs/hdfs_shell.xml Tue Mar 24 23:43:36 2009
@@ -208,18 +208,28 @@
Takes a source directory and a destination file as input and concatenates files in src into the destination local file. Optionally <code>addnl</code> can be set to enable adding a newline character at the end of each file.
</p>
</section>
- <section>
- <title> ls </title>
- <p>
- <code>Usage: hadoop fs -ls <args></code>
- </p>
- <p>
- For a file returns stat on the file with the following format:<br/><code>filename <number of replicas> filesize modification_date modification_time permissions userid groupid</code><br/>
- For a directory it returns list of its direct children as in unix.
- A directory is listed as: <br/><code>dirname <dir> modification_time modification_time permissions userid groupid</code><br/>
- Example:<br/><code>hadoop fs -ls /user/hadoop/file1 /user/hadoop/file2 hdfs://nn.example.com/user/hadoop/dir1 /nonexistentfile</code><br/>
- Exit Code:<br/><code> Returns 0 on success and -1 on error. </code><br/></p>
- </section>
+ <section>
+ <title>ls</title>
+ <p>
+ <code>Usage: hadoop fs -ls <args></code>
+ </p>
+ <p>For a file returns stat on the file with the following format:</p>
+ <p>
+ <code>permissions number_of_replicas userid groupid filesize modification_date modification_time filename</code>
+ </p>
+ <p>For a directory it returns list of its direct children as in unix.A directory is listed as:</p>
+ <p>
+ <code>permissions userid groupid modification_date modification_time dirname</code>
+ </p>
+ <p>Example:</p>
+ <p>
+ <code>hadoop fs -ls /user/hadoop/file1 </code>
+ </p>
+ <p>Exit Code:</p>
+ <p>
+ <code>Returns 0 on success and -1 on error.</code>
+ </p>
+ </section>
<section>
<title>lsr</title>
<p><code>Usage: hadoop fs -lsr <args></code><br/>