You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EMR::Types::HadoopJarStepConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

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

Instance Attribute Details

#argsArray<String>

A list of command line arguments passed to the JAR file's main function when executed.

Returns:

  • (Array<String>)


1583
1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1583

class HadoopJarStepConfig < Struct.new(
  :properties,
  :jar,
  :main_class,
  :args)
  include Aws::Structure
end

#jarString

A path to a JAR file run during the step.

Returns:

  • (String)


1583
1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1583

class HadoopJarStepConfig < Struct.new(
  :properties,
  :jar,
  :main_class,
  :args)
  include Aws::Structure
end

#main_classString

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.

Returns:

  • (String)


1583
1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1583

class HadoopJarStepConfig < Struct.new(
  :properties,
  :jar,
  :main_class,
  :args)
  include Aws::Structure
end

#propertiesArray<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.

Returns:



1583
1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1583

class HadoopJarStepConfig < Struct.new(
  :properties,
  :jar,
  :main_class,
  :args)
  include Aws::Structure
end