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:26 UTC

svn commit: r758086 - in /hadoop/core/trunk: CHANGES.txt src/docs/src/documentation/content/xdocs/hdfs_shell.xml

Author: cdouglas
Date: Tue Mar 24 23:43:25 2009
New Revision: 758086

URL: http://svn.apache.org/viewvc?rev=758086&view=rev
Log:
HADOOP-4719. Fix documentation of 'ls' format for FsShell. Contributed by Ravi Phulari

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/docs/src/documentation/content/xdocs/hdfs_shell.xml

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=758086&r1=758085&r2=758086&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Mar 24 23:43:25 2009
@@ -1153,6 +1153,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/trunk/src/docs/src/documentation/content/xdocs/hdfs_shell.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/docs/src/documentation/content/xdocs/hdfs_shell.xml?rev=758086&r1=758085&r2=758086&view=diff
==============================================================================
--- hadoop/core/trunk/src/docs/src/documentation/content/xdocs/hdfs_shell.xml (original)
+++ hadoop/core/trunk/src/docs/src/documentation/content/xdocs/hdfs_shell.xml Tue Mar 24 23:43:25 2009
@@ -209,18 +209,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/>