Class: Aws::EMR::Types::HadoopJarStepConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::HadoopJarStepConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-emr/types.rb
Overview
When making an API call, you may pass HadoopJarStepConfig data as a hash:
{
properties: [
{
key: "XmlString",
value: "XmlString",
},
],
jar: "XmlString", # required
main_class: "XmlString",
args: ["XmlString"],
}
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.
Instance Attribute Summary collapse
-
#args ⇒ Array<String>
A list of command line arguments passed to the JAR file’s main function when executed.
-
#jar ⇒ String
A path to a JAR file run during the step.
-
#main_class ⇒ String
The name of the main class in the specified Java file.
-
#properties ⇒ Array<Types::KeyValue>
A list of Java properties that are set when the step runs.
Instance Attribute Details
#args ⇒ Array<String>
A list of command line arguments passed to the JAR file’s main function when executed.
1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/aws-sdk-emr/types.rb', line 1564 class HadoopJarStepConfig < Struct.new( :properties, :jar, :main_class, :args) include Aws::Structure end |
#jar ⇒ String
A path to a JAR file run during the step.
1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/aws-sdk-emr/types.rb', line 1564 class HadoopJarStepConfig < Struct.new( :properties, :jar, :main_class, :args) include Aws::Structure end |
#main_class ⇒ String
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.
1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/aws-sdk-emr/types.rb', line 1564 class HadoopJarStepConfig < Struct.new( :properties, :jar, :main_class, :args) include Aws::Structure end |
#properties ⇒ Array<Types::KeyValue>
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.
1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/aws-sdk-emr/types.rb', line 1564 class HadoopJarStepConfig < Struct.new( :properties, :jar, :main_class, :args) include Aws::Structure end |