HadoopStepConfig - Amazon EMR

HadoopStepConfig

A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

Contents

Args

The list of command line arguments to pass to the JAR file's main function for execution.

Type: Array of strings

Required: No

Jar

The path to the JAR file that runs during the step.

Type: String

Required: No

MainClass

The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.

Type: String

Required: No

Properties

The list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.

Type: String to string map

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: