|
@@ -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 <namenode_http_addr>] <file_name> </code></p>
|
|
|
+ <table>
|
|
|
+ <tr><th> COMMAND_OPTION </th><th> Description </th></tr>
|
|
|
+ <tr>
|
|
|
+ <td><code><file_name></code></td>
|
|
|
+ <td>File name to store the token into.</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>--webservice <https_address></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.
|