yarn jar

Runs a jar file that contains YARN code.

Syntax

yarn jar <jar> [<mainClass>] [<arguments>]

Parameters

The following commands parameters are supported for yarn jar:

Parameter

Description

<jar>

The JAR file.

<mainClass> Sets the applications entry point.

<arguments>

Arguments to the program specified in the JAR file.