MAPREDUCE-6392. Document mapred class path options. Contributed by Brahma Reddy Battula.
(cherry picked from commit 025a3a8be0
)
This commit is contained in:
parent
d9016b0286
commit
5a002aef12
|
@ -82,6 +82,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