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 bo...@apache.org on 2010/08/11 00:35:15 UTC

svn commit: r984250 - in /hadoop/common/trunk: CHANGES.txt src/docs/src/documentation/content/xdocs/commands_manual.xml

Author: boryas
Date: Tue Aug 10 22:35:15 2010
New Revision: 984250

URL: http://svn.apache.org/viewvc?rev=984250&view=rev
Log:
HADOOP-6911. doc update for DelegationTokenFetcher

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/docs/src/documentation/content/xdocs/commands_manual.xml

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=984250&r1=984249&r2=984250&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Tue Aug 10 22:35:15 2010
@@ -110,6 +110,9 @@ Trunk (unreleased changes)
 
     HADOOP-6862. Adds api to add/remove user and group to AccessControlList
     (amareshwari)
+
+    HADOOP6911. doc update for DelegationTokenFetcher (boryas)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/common/trunk/src/docs/src/documentation/content/xdocs/commands_manual.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/docs/src/documentation/content/xdocs/commands_manual.xml?rev=984250&r1=984249&r2=984250&view=diff
==============================================================================
--- hadoop/common/trunk/src/docs/src/documentation/content/xdocs/commands_manual.xml (original)
+++ hadoop/common/trunk/src/docs/src/documentation/content/xdocs/commands_manual.xml Tue Aug 10 22:35:15 2010
@@ -57,8 +57,8 @@
 				<title>Generic Options</title>
 				<p>
 				  The following options are supported by <a href="commands_manual.html#dfsadmin">dfsadmin</a>, 
-				  <a href="commands_manual.html#fs">fs</a>, <a href="commands_manual.html#fsck">fsck</a> and 
-				  <a href="commands_manual.html#job">job</a>. 
+                  <a href="commands_manual.html#fs">fs</a>, <a href="commands_manual.html#fsck">fsck</a>, 
+                  <a href="commands_manual.html#job">job</a> and <a href="commands_manual.html#fetchdt">fetchdt</a>.
 				  Applications should implement 
 				  <a href="ext:api/org/apache/hadoop/util/tool">Tool</a> to support
 				  <a href="ext:api/org/apache/hadoop/util/genericoptionsparser">
@@ -213,6 +213,26 @@
 			</section>
 			
 			<section>
+              <title> fetchdt </title>
+              <p>
+                Gets Delegation Token from a NameNode. See <a href="http://hadoop.apache.org/hdfs/docs/current/hdfs_user_guide.html#fetchdt">fetchdt</a> for more info.
+              </p> 
+              <p><code>Usage: hadoop fetchdt [</code><a href="commands_manual.html#Generic+Options">GENERIC_OPTIONS</a><code>] 
+                 [--webservice &lt;namenode_http_addr&gt;] &lt;file_name&gt; </code></p>
+                 <table>
+                   <tr><th> COMMAND_OPTION </th><th> Description </th></tr>
+                   <tr>
+                     <td><code>&lt;file_name&gt;</code></td>
+                     <td>File name to store the token into.</td>
+                   </tr>
+                   <tr>
+                     <td><code>--webservice &lt;https_address&gt;</code></td>
+                     <td>use http protocol instead of RPC</td>
+                   </tr>
+                 </table>
+             </section>
+                        
+             <section>
 				<title> jar </title>
 				<p>
 					Runs a jar file. Users can bundle their Map Reduce code in a jar file and execute it using this command.