feat(emr): run Trino workers on a cluster's core and task nodes (#9797)

EMR's Trino follows a "coordinator-worker model, where each component has a specialized role in query
execution", and Floci ran the coordinator alone. Each core and task node Floci runs now runs a Trino worker,
in a container that shares the node's network, up to trino.max-workers with trino.worker-memory-mb each, and
the coordinator runs the queries itself only on a cluster with no workers. Every node shares a secret Floci
makes as the coordinator starts, and a worker starts and goes with its node, a resize's among them.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-30 06:25:52 -04:00
1 parent c4c3208ee6
commit ac3be910ae
14 files changed
+746 -217

No files matched your search

+2 -2
View File
@@ -78,8 +78,8 @@ jobs:
# EmrClusterShrinkNightlyIntegrationTest's sixteen-minute method and two-minute setup, and
# EmrContainersSparkNightlyIntegrationTest's three six-minute methods, eleven-minute method, two-minute setup before
# each and 21-minute image pull, EmrContainersGatewayNightlyIntegrationTest's twenty-four-minute, seven-minute and
# eighteen-minute methods and 21-minute image pull, and EmrTrinoNightlyIntegrationTest's five seven-minute
# methods and ten-minute image pull, 215 minutes. docker-e2e holds the *DockerNightlyIntegrationTest
# eighteen-minute methods and 21-minute image pull, and EmrTrinoNightlyIntegrationTest's six seven-minute
# methods and ten-minute image pull, 222 minutes. docker-e2e holds the *DockerNightlyIntegrationTest
# classes, about 23 minutes of tests on 2026-11-23 when they still ran in the shards. A check added, or a bound
# raised, raises its group's timeout with it, so a slow check fails with its own message.
strategy: