Class: Aws::EMR::Types::Step

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

Overview

This represents a step in a cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_on_failureString

The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.

If a cluster's StepConcurrencyLevel is greater than 1, do not use AddJobFlowSteps to submit a step with this parameter set to CANCEL_AND_WAIT or TERMINATE_CLUSTER. The step is not submitted and the action fails with a message that the ActionOnFailure setting is not valid.

If you change a cluster's StepConcurrencyLevel to be greater than 1 while a step is running, the ActionOnFailure parameter may not behave as you expect. In this case, for a step that fails with this parameter set to CANCEL_AND_WAIT, pending steps and the running step are not canceled; for a step that fails with this parameter set to TERMINATE_CLUSTER, the cluster does not terminate.

Returns:

  • (String)


7398
7399
7400
7401
7402
7403
7404
7405
7406
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7398

class Step < Struct.new(
  :id,
  :name,
  :config,
  :action_on_failure,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#configTypes::HadoopStepConfig

The Hadoop job configuration of the cluster step.



7398
7399
7400
7401
7402
7403
7404
7405
7406
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7398

class Step < Struct.new(
  :id,
  :name,
  :config,
  :action_on_failure,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the cluster step.

Returns:

  • (String)


7398
7399
7400
7401
7402
7403
7404
7405
7406
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7398

class Step < Struct.new(
  :id,
  :name,
  :config,
  :action_on_failure,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the cluster step.

Returns:

  • (String)


7398
7399
7400
7401
7402
7403
7404
7405
7406
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7398

class Step < Struct.new(
  :id,
  :name,
  :config,
  :action_on_failure,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusTypes::StepStatus

The current execution status details of the cluster step.

Returns:



7398
7399
7400
7401
7402
7403
7404
7405
7406
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 7398

class Step < Struct.new(
  :id,
  :name,
  :config,
  :action_on_failure,
  :status)
  SENSITIVE = []
  include Aws::Structure
end