mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 18:48:00 -05:00
fix(emr): keep a cluster's Trino node.id on its coordinator alone (#9829)
A node.id in a cluster's trino-node classification reached its Trino workers too (#9797), so every node had the coordinator's id, where Trino needs it "unique for every node". It stays the coordinator's, and each worker is named after its node's host, as a node given no id is.
This commit is contained in:
1 parent
b7e3126e7a
commit
f0b2c2db2a
3 files changed
+21
-2
No files matched your search
@@ -871,7 +871,9 @@ holding the driver and its executors, or a command or a script. The cluster itse
|
||||
The image's own catalogs go, as EMR's Trino has those the cluster configures. `trino-node`'s and `trino-log`'s
|
||||
properties go into the image's own `node.properties` and `log.properties`, after its lines, a property given twice
|
||||
taking the later, so an image of `trino.image`'s keeps its settings where the cluster gives none, and Floci names the
|
||||
node, with hyphens for the host name's dots, only where neither gives it an id; and the variables `trino-env`'s nested
|
||||
node, with hyphens for the host name's dots, only where neither gives it an id; a `node.id` of `trino-node`'s is the
|
||||
coordinator's alone, as Trino needs it "unique for every node", each worker named after its node's host; and the
|
||||
variables `trino-env`'s nested
|
||||
`export` gives, as "If any classification ends in env, use the export sub-classification", are Trino's environment,
|
||||
which a catalog reads as `${ENV:NAME}` where its connector takes Trino's configuration, as Iceberg's and the memory
|
||||
connector's do, after Floci's own AWS settings, which they may change. `trino-exchange-manager`, which on EMR
|
||||
|
||||
Reference in new issue
Block a user