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

Class: Aws::EMR::Types::HadoopStepConfig

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

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#argsArray<String>

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

Returns:

  • (Array<String>)


1617
1618
1619
1620
1621
1622
1623
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1617

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

#jarString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1617

class HadoopStepConfig < Struct.new(
  :jar,
  :properties,
  :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)


1617
1618
1619
1620
1621
1622
1623
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1617

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

#propertiesHash<String,String>

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.

Returns:

  • (Hash<String,String>)


1617
1618
1619
1620
1621
1622
1623
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1617

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