Amazon EMR Cluster HadoopJarStepConfig
The
HadoopJarStepConfig property type specifies a job flow 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.
HadoopJarStepConfig is a property of the Amazon EMR Cluster StepConfig property
type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Args" : [String, ... ] , "Jar" :String, "MainClass" :String, "StepProperties" : [KeyValue, ... ] }
YAML
Args -Jar:StringStringMainClass:StringStepProperties -KeyValue
Properties
Args-
A list of command line arguments passed to the JAR file's main function when executed.
Length Constraints: Minimum length of 0. Maximum length of 10280.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Required: No
Type: List of String values
Update requires: No interruption
Jar-
A path to a JAR file run during the step.
Length Constraints: Minimum length of 0. Maximum length of 10280.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Required: Yes
Type: String
Update requires: No interruption
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.
Length Constraints: Minimum length of 0. Maximum length of 10280.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Required: No
Type: String
Update requires: No interruption
StepProperties-
A 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.
Required: No
Type: List of Amazon EMR Cluster KeyValue property types
Update requires: No interruption
See Also
-
HadoopJarStepConfig in the Amazon EMR API Reference
