mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
EMR Serverless gives a Spark job's driver and each of its executors a worker of their own; a docker job run ran them all in one container, in Spark's local mode. With executor-containers above 0, the driver's container now runs Spark's standalone master beside the driver, and each executor runs in a container of its own, a standalone worker offering one executor's cores and memory. Floci follows the driver through its UI: an executor's size from its settings, and how many executors dynamic allocation wants from its metrics. It starts executor containers, or removes idle ones, to match: at most executor-containers at once, and none that would take the application past its maximumCapacity. They share a secret per run, run the Executor worker type's image, and go with the driver. executor-containers is 0 by default: then, or on the host's network, the executors run in the driver's container, as before.