mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 19:18:01 -05:00
feat(emr): start a cluster's Trino with it and reach it from outside Docker (#9534)
A cluster with Floci's Trino now starts its primary node, and Trino on it, in the background as it becomes ready, steps or none, the way an application UI link already does; the cluster goes WAITING as before. Clients outside the cluster reach Trino through Floci on a host of the cluster's own, <cluster-id>.emr-trino.<Floci's host>, through the app UI proxy: Trino's port is published on the primary node's loopback like the node's web interfaces, the request keeps its Host, which Trino names its next pages by, and goes on with X-Forwarded-Proto, which Trino honours with http-server.process-forwarded. Until Trino answers the host gives a 503, which Trino's clients retry, and starts the node where it is not running; an ending or ended cluster gives a 404. Floci's TLS certificate names the new host label.
This commit is contained in:
1 parent
31befa5e92
commit
ad51bc5ecc
18 files changed
+595
-31
No files matched your search
@@ -77,8 +77,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 three seven-minute
|
||||
# methods and ten-minute image pull, 201 minutes. docker-e2e holds the *DockerNightlyIntegrationTest
|
||||
# eighteen-minute methods and 21-minute image pull, and EmrTrinoNightlyIntegrationTest's four seven-minute
|
||||
# methods and ten-minute image pull, 208 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:
|
||||
|
||||
Reference in new issue
Block a user