Class: Elasticity::SetupHadoopDebuggingStep

Inherits:
CustomJarStep show all
Defined in:
lib/elasticity/setup_hadoop_debugging_step.rb

Instance Attribute Summary

Attributes inherited from CustomJarStep

#action_on_failure, #arguments, #jar, #name

Instance Method Summary collapse

Methods inherited from CustomJarStep

#to_aws_step

Methods included from JobFlowStep

#aws_installation_step_name, #aws_installation_steps, included, #requires_installation?, steps_requiring_installation, #to_aws_step

Constructor Details

#initialize(region) ⇒ SetupHadoopDebuggingStep

Returns a new instance of SetupHadoopDebuggingStep



5
6
7
8
9
10
# File 'lib/elasticity/setup_hadoop_debugging_step.rb', line 5

def initialize(region)
  @name = 'Elasticity Setup Hadoop Debugging'
  @jar = "s3://#{region}.elasticmapreduce/libs/script-runner/script-runner.jar"
  @arguments = ["s3://#{region}.elasticmapreduce/libs/state-pusher/0.1/fetch"]
  @action_on_failure = 'TERMINATE_JOB_FLOW'
end