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 &lt;args&gt;</code>
-                       </p>
-                       <p>
-                For a file returns stat on the file with the following 
format:<br/><code>filename &lt;number of replicas&gt; 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 &lt;dir&gt; 
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 &lt;args&gt;</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 &lt;args&gt;</code><br/>


Reply via email to