Module: Elasticity::JobFlowStep::ClassMethods

Defined in:
lib/elasticity/job_flow_step.rb

Instance Method Summary collapse

Instance Method Details

#aws_installation_step_nameObject

Raises:

  • (RuntimeError)


33
34
35
# File 'lib/elasticity/job_flow_step.rb', line 33

def aws_installation_step_name
  raise RuntimeError, '.aws_installation_step_name is required to be defined when a step requires installation (e.g. Pig, Hive).'
end

#aws_installation_stepsObject

Raises:

  • (RuntimeError)


29
30
31
# File 'lib/elasticity/job_flow_step.rb', line 29

def aws_installation_steps
  raise RuntimeError, '.aws_installation_step is required to be defined when a step requires installation (e.g. Pig, Hive).'
end

#requires_installation?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/elasticity/job_flow_step.rb', line 25

def requires_installation?
  false
end