classpath

Prints the classpath needed to get the Hadoop JAR and the required libraries. If called without arguments, 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.

The usage is as follows:

$ yarn classpath [--glob |--jar <path> |-h |--help]
Arguments

--glob

Expands wildcards

--jar <path/to/.jar>

Writes the classpath string into the manifest of the JAR named <path/to/.jar>

--help

Prints usage options

Found a mistake? Seleсt text and press Ctrl+Enter to report it