Ryan Riopelle
01/05/2022, 12:28 AM2022-01-04 23:45:38 - dagster - ERROR - hello_cereal_shield_job - b1817925-525e-4768-ae49-2937cf528ab7 - 610 - RUN_FAILURE - Execution of run for "hello_cereal_shield_job" failed. An exception was thrown during execution.
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
Stack Trace:
File "/app/web/piper/hmc/dagster_cli_bin.runfiles/pypi__36__dagster_0_13_4_linux_x86_64/dagster/core/execution/api.py", line 774, in pipeline_execution_iterator
for event in pipeline_context.executor.execute(pipeline_context, execution_plan):
File "/app/web/piper/hmc/dagster_cli_bin.runfiles/pypi__36__dagster_0_13_4_linux_x86_64/dagster/core/executor/multiprocess.py", line 163, in execute
event_or_none = next(step_iter)
File "/app/web/piper/hmc/dagster_cli_bin.runfiles/pypi__36__dagster_0_13_4_linux_x86_64/dagster/core/executor/multiprocess.py", line 268, in execute_step_out_of_process
for ret in execute_child_process_command(command):
File "/app/web/piper/hmc/dagster_cli_bin.runfiles/pypi__36__dagster_0_13_4_linux_x86_64/dagster/core/executor/child_process_executor.py", line 140, in execute_child_process_command
process.start()
File "/usr/local/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/usr/local/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/usr/local/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/usr/local/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/usr/local/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
File "/usr/local/lib/python3.6/multiprocessing/spawn.py", line 143, in get_preparation_data
_check_not_importing_main()
File "/usr/local/lib/python3.6/multiprocessing/spawn.py", line 136, in _check_not_importing_main
is not going to be frozen to produce an executable.''')