mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 23:59:27 -05:00
A cluster's trino-exchange-manager now makes Trino's
exchange-manager.properties, for fault-tolerant execution. With no
properties it is EMR's default, spooling in the cluster's HDFS in
trino-exchange/ under the trino user's home; exchange.base-directories
with exchange.use-local-hdfs names HDFS directories, and an s3://
directory spools in Floci's S3. The Trino project's Trino refuses EMR's
exchange.use-local-hdfs and an hdfs:// directory in a filesystem exchange
manager, so Floci leaves the first out and gives HDFS directories Trino's
own hdfs exchange manager, with a core-site.xml naming the cluster's
NameNode as its hdfs.config.resources: without one, Trino takes an hdfs://
directory for another file system's ("Wrong FS ... expected: file:///").