YARN-3786. Document yarn class path options. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
d2832b3d42
commit
a531b058ae
@ -297,6 +297,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-2716. Refactor ZKRMStateStore retry code with Apache Curator.
|
||||
(Karthik Kambatla via jianhe)
|
||||
|
||||
YARN-3786. Document yarn class path options.
|
||||
(Brahma Reddy Battula via cnauroth)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||
|
@ -89,9 +89,15 @@ prints applicationattempt(s) report
|
||||
|
||||
### `classpath`
|
||||
|
||||
Usage: `yarn classpath`
|
||||
Usage: `yarn classpath [--glob |--jar <path> |-h |--help]`
|
||||
|
||||
Prints the class path needed to get the Hadoop jar and the required libraries
|
||||
| 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.
|
||||
|
||||
### `container`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user