Browse Source

HADOOP-6911. doc update for DelegationTokenFetcher

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@984250 13f79535-47bb-0310-9956-ffa450edef68
Boris Shkolnik 15 years ago
parent
commit
ccbdfba7d1
2 changed files with 25 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 22 2
      src/docs/src/documentation/content/xdocs/commands_manual.xml

+ 3 - 0
CHANGES.txt

@@ -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

+ 22 - 2
src/docs/src/documentation/content/xdocs/commands_manual.xml

@@ -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.