Michel Rouly
06/02/2023, 3:53 PMStepLauncher is responsible for executing steps, either in-process or in an external process.vs
For the given context and execution plan, orchestrate a series of sub plan executions in a way that satisfies the whole plan being executed.
Michel Rouly
06/02/2023, 3:55 PMExecutor
ultimately end up invoking a StepLauncher
?Michel Rouly
06/02/2023, 3:57 PMk8s_job_executor
, which is a StepDelegatingExecutor
. That has its own StepHandler
that launches steps.
For k8s, that's the K8sStepHandler
.Michel Rouly
06/02/2023, 3:58 PMK8sStepHandler
just directly invokes the K8s API. No StepLauncher
to be seen.Michel Rouly
06/02/2023, 3:58 PMMichel Rouly
06/02/2023, 3:59 PMStepHandler
or indeed even an Executor
.Michel Rouly
06/02/2023, 4:00 PMFor example, the emr_pyspark_step_launcher has the op run inside an EMR cluster, instead of the process that the executor would normally execute it inside.
Michel Rouly
06/02/2023, 4:00 PMStepLauncher
executes first, and for the EMR launcher, it it delegates to EMR instead of invoking the Executor
?Michel Rouly
06/02/2023, 4:03 PMMichel Rouly
06/02/2023, 4:05 PMStepExecutionContext
has a step_launcher
in it...Michel Rouly
06/02/2023, 4:05 PMPlanOrchestrationContext
and StepOrchestrationContext
have an executor
Michel Rouly
06/02/2023, 4:05 PMjohann
06/02/2023, 4:06 PMMichel Rouly
06/02/2023, 4:07 PMhave a confusing name given the abovehaha, you're telling me 😛
Michel Rouly
06/02/2023, 4:07 PMStepHandler
johann
06/02/2023, 4:07 PMMichel Rouly
06/02/2023, 4:07 PMMichel Rouly
06/02/2023, 4:08 PMStepLauncher
, although all my experience has been with k8s_job_executor
.Michel Rouly
06/02/2023, 4:09 PMjohann
06/02/2023, 4:10 PMMichel Rouly
06/02/2023, 4:11 PMjohann
06/02/2023, 4:11 PMMichel Rouly
06/02/2023, 4:11 PMjohann
06/02/2023, 4:12 PMMichel Rouly
06/02/2023, 4:12 PMExecutor
and a StepLauncher
would play nice within the same job?johann
06/02/2023, 4:12 PMMichel Rouly
06/02/2023, 4:12 PMjohann
06/02/2023, 4:12 PMjohann
06/02/2023, 4:14 PMMichel Rouly
06/02/2023, 4:15 PMjohann
06/02/2023, 4:15 PMjohann
06/02/2023, 4:15 PMMichel Rouly
06/02/2023, 4:17 PMMichel Rouly
06/02/2023, 4:17 PMjohann
06/02/2023, 4:38 PM