Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs for support hadoop compatible file system when use HDFS … #24918

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/src/main/sphinx/admin/fault-tolerant-execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ the property may be configured for:
- Block [data size](prop-type-data-size) for HDFS storage.
- `4MB`
- HDFS
* - `exchange.hdfs.skip-directory-scheme-validation`
- Skip directory scheme validation to support Hadoop-compatible file system.
- false
- HDFS
* - `hdfs.config.resources`
- Comma-separated list of paths to HDFS configuration files, for example
`/etc/hdfs-site.xml`. The files must exist on all nodes in the Trino
Expand Down Expand Up @@ -604,6 +608,15 @@ exchange.base-directories=hadoop-master:9000/exchange-spooling-directory
hdfs.config.resources=/usr/lib/hadoop/etc/hadoop/core-site.xml
```

When you want use Hadoop-compatible file system as the spooling storage location,
you should enable `exchange.hdfs.skip-directory-scheme-validation` in `exchange-manager.properties`
when configure `exchange.base-directories` with a specific scheme instead of `hdfs` and the following steps
may be necessary.

1. Configure the `AbstractFileSystem` implementation in `core-site.xml`.
2. Add the relevant client JAR files into the directory `${Trino_HOME}/plugin/exchange-hdfs`
on all Trino cluster nodes.

(fte-exchange-local-filesystem)=
#### Local filesystem storage

Expand Down