MAPREDUCE-6392. Document mapred class path options. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
a531b058ae
commit
025a3a8be0
@ -343,6 +343,9 @@ Release 2.8.0 - UNRELEASED
|
||||
MAPREDUCE-6354. ShuffleHandler should be able to log shuffle connections
|
||||
(Chang Li via jlowe)
|
||||
|
||||
MAPREDUCE-6392. Document mapred class path options.
|
||||
(Brahma Reddy Battula via cnauroth)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -55,9 +55,15 @@ Creates a hadoop archive. More information can be found at
|
||||
|
||||
### `classpath`
|
||||
|
||||
Prints the class path needed to get the Hadoop jar and the required libraries.
|
||||
Usage: `yarn classpath [--glob |--jar <path> |-h |--help]`
|
||||
|
||||
Usage: `mapred classpath`
|
||||
| COMMAND\_OPTION | Description |
|
||||
|:---- |:---- |
|
||||
| `--glob` | expand wildcards |
|
||||
| `--jar` *path* | write classpath as manifest in jar named *path* |
|
||||
| `-h`, `--help` | print help |
|
||||
|
||||
Prints the class path needed to get the Hadoop jar and the required libraries. If called without arguments, then prints the classpath set up by the command scripts, which is likely to contain wildcards in the classpath entries. Additional options print the classpath after wildcard expansion or write the classpath into the manifest of a jar file. The latter is useful in environments where wildcards cannot be used and the expanded classpath exceeds the maximum supported command line length.
|
||||
|
||||
### `distcp`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user