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

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

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


2155
2156
2157
2158
2159
2160
2161
2162
# File 'lib/aws-sdk-emr/types.rb', line 2155

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

#jarString

A path to a JAR file run during the step.

Returns:

  • (String)


2155
2156
2157
2158
2159
2160
2161
2162
# File 'lib/aws-sdk-emr/types.rb', line 2155

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


2155
2156
2157
2158
2159
2160
2161
2162
# File 'lib/aws-sdk-emr/types.rb', line 2155

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



2155
2156
2157
2158
2159
2160
2161
2162
# File 'lib/aws-sdk-emr/types.rb', line 2155

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