HADOOP-6911. doc update for DelegationTokenFetcher

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@984250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Boris Shkolnik 2010-08-10 22:35:15 +00:00
parent bd121ed635
commit ccbdfba7d1
2 changed files with 25 additions and 2 deletions

View File

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

View File

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