Method: Elasticity::JobFlow#run
- Defined in:
- lib/elasticity/job_flow.rb
#run ⇒ Object
172 173 174 175 176 177 |
# File 'lib/elasticity/job_flow.rb', line 172 def run if is_jobflow_running? raise JobFlowRunningError, 'Cannot run a job flow multiple times. To do more with this job flow, please use #add_step.' end @jobflow_id = emr.run_job_flow(jobflow_config) end |