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

Alluxio-Trino for Trino version 434 and higher #18612

Open
jpohanka opened this issue May 16, 2024 · 1 comment
Open

Alluxio-Trino for Trino version 434 and higher #18612

jpohanka opened this issue May 16, 2024 · 1 comment
Labels
type-docs Documentation Defects

Comments

@jpohanka
Copy link

jpohanka commented May 16, 2024

Page
https://docs.alluxio.io/os/user/stable/en/compute/Trino.html

Alluxio version
2.9.0 and higher.

Trino version
434 and higher.

Summary
The current documentation on Alluxio+Trino works for Trino all versions up to 433. When using higher versions, Trino throws a No FileSystem for scheme: alluxio error. This is due to some code changes for HDFS that were implemented in Trino 434.

To solve this problem, the alluxio-<version>-client.jar file needs to be copied to the path ${Trino_HOME}/plugin/hive/hdfs/ instead of the original path ${Trino_HOME}/plugin/hive-hadoop2/.

@realknorke
Copy link

realknorke commented May 21, 2024

@jpohanka we tested your workaround. However, your workaround doesn't seem to be enough/complete. My observations on that matter:

  1. There is no alluxio-$version-client.jar on Maven Central. We added alluxio-shaded-client-2.9.3.jar to the …/plugin/hive/hdfs folder.
  2. Beyond that we had to COPY (Dockerfile) the content of the /opt/alluxio/lib folder (from an Alluxio installation/image) into the Trino image under /opt/alluxio/lib.
  3. Adding version 312 instead of 2.9.3 is not working! I'm still confused about Alluxio's versioning. It comes with semantic versioning (e.g. 2.9.4) and an incompatible seq numbering (e.g. 312).
  4. There is a alluxio-client.jar in our Alluxio image. However, that jar file is a symlink to build/alluxio-2.9.3-hadoop2-client.jar. We are using Hadoop3 libs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-docs Documentation Defects
Projects
None yet
Development

No branches or pull requests

2 participants