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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

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>)


2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/aws-sdk-emr/types.rb', line 2190

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

#jarString

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

Returns:

  • (String)


2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/aws-sdk-emr/types.rb', line 2190

class HadoopStepConfig < Struct.new(
  :jar,
  :properties,
  :main_class,
  :args)
  SENSITIVE = []
  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)


2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/aws-sdk-emr/types.rb', line 2190

class HadoopStepConfig < Struct.new(
  :jar,
  :properties,
  :main_class,
  :args)
  SENSITIVE = []
  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>)


2190
2191
2192
2193
2194
2195
2196
2197
# File 'lib/aws-sdk-emr/types.rb', line 2190

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