jar

Runs a JAR file. You can bundle your YARN code in a JAR file and run it using this command.

The usage is as follows:

$ yarn jar <jar> [mainClass]
Arguments

<jar>

The path to the JAR to run

mainClass

The name of the main class in the Java. If not specified, the main class is retrieved from the JAR manifest

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