You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 05:56:51 UTC
[I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
hudi-bot opened a new issue, #15481:
URL: https://github.com/apache/hudi/issues/15481
Presto and Trino don't work in Docker Demo M1 mac. We have been able to get the other components to work on m1 but not Presto or Trino. Trino may work just by updating the image that is used for adhoc-1/2 because the Trino images we made for aarch64 are
{code:java}
apachehudi/hudi-hadoop_2.8.4-trinoworker_368:linux-arm64-0.12.0
apachehudi/hudi-hadoop_2.8.4-trinocoordinator_368:linux-arm64-0.12.0 {code}
Presto will definitely be difficult because it does not support m1 mac currently
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-4984
- Type: Bug
---
## Comments
16/Nov/22 20:57;jonvex;After adding presto back to the config, I was able to open presto in docker. Sometimes it would be able to run commands before hanging and other times it would hang right from the start. I believe it is running out of memory due to [https://github.com/prestodb/presto/issues/11160] having some similar errors and also having `-XX:OnOutOfMemoryError="kill -9 %p` as a config set;;;
---
17/Nov/22 19:24;jonvex;Using the existing images, when we try to use trino we get this error
{code:java}
jon@MacBook-Pro hudi % docker exec -it adhoc-2 trino --server trino-coordinator-1:8091
OCI runtime exec failed: exec failed: unable to start container process: exec: "trino": executable file not found in $PATH: unknown{code};;;
---
17/Nov/22 19:31;jonvex;For presto,
We tried using the arm version of the image
{code:java}
apachehudi/hudi-hadoop_2.8.4-prestobase_0.271:linux-arm64-0.10.1{code}
{{but got the error }}
{code:java}
Presto requires amd64 or ppc64le on Linux (found aarch64) {code}
{{I built an upgraded version of presto to .275 which is}}
{code:java}
apachehudi/hudi-hadoop_2.8.4-prestobase_0.275:latest {code}
{{but that timed out when I tried to run presto queries}}
{{We also tried to increase PRESTO_JVM_MAX_HEAP to 1024M, for both .271 and .275 but both timed out as well}};;;
---
17/Nov/22 19:32;jonvex;Not really sure where to go with presto, but with trino we could still try building arm images. This will take some work as the java11 base image needs to be rebuilt so that is more difficult than building the presto arm images on top of an existing arm base image that we had for 0.10.1;;;
---
17/Nov/22 21:21;jonvex;Upped docker cpu to 7 cores and tried .271 and .275 presto but same issues as before occurred;;;
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
Posted by "deepakpanda93 (via GitHub)" <gi...@apache.org>.
deepakpanda93 commented on issue #15481:
URL: https://github.com/apache/hudi/issues/15481#issuecomment-5189528544
@jonvex could you try [hudi-notebooks/](https://github.com/apache/hudi/tree/master/hudi-notebooks)? It has Trino and Presto alongside Spark, Hive Metastore and MinIO:
cd hudi-notebooks
./build.sh
./run_spark_hudi.sh start
Trino UI → http://localhost:8085/ · Presto UI → http://localhost:8086/ · JupyterLab → http://localhost:8888/
There are worked examples for both: [06_hudi_trino_example.ipynb](https://github.com/apache/hudi/blob/master/hudi-notebooks/notebooks/common/06_hudi_trino_example.ipynb) and [07_hudi_presto_example.ipynb](https://github.com/apache/hudi/blob/master/hudi-notebooks/notebooks/common/07_hudi_presto_example.ipynb).
It builds Trino 481 and Presto 0.297 from the official upstream images, both of which publish linux/arm64. I started them on an arm64 host and both came up (SERVER STARTED, /v1/info → 200) — Presto now only warns "Support for the ARM architecture is experimental" where it used to fail with requires amd64 or ppc64le.
Worth noting the hangs and timeouts you hit were a separate symptom from the architecture check, so those are the thing to watch. If it works for you, this can probably be closed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
Posted by "deepakpanda93 (via GitHub)" <gi...@apache.org>.
deepakpanda93 commented on issue #15481:
URL: https://github.com/apache/hudi/issues/15481#issuecomment-5295131506
This issue was reviewed as part of the JIRA-migrated backlog triage.
Findings: the blocker reported here no longer applies, on two independent counts.
**1. Presto and Trino now start on arm64.** The 2022 failure was the hard
architecture check — `Presto requires amd64 or ppc64le on Linux (found aarch64)`. [`hudi-notebooks/`](https://github.com/apache/hudi/tree/master/hudi-notebooks)
builds Trino 481 and Presto 0.297 from the official upstream images, both of which publish `linux/arm64`. Verified on an arm64 host: both reached `SERVER STARTED` with `/v1/info` returning 200, and Presto now only warns *"Support for the ARM
architecture is experimental"* instead of refusing to start. Worked examples: [`06_hudi_trino_example.ipynb`](https://github.com/apache/hudi/blob/master/hudi-notebooks/notebooks/common/06_hudi_trino_example.ipynb)
and [`07_hudi_presto_example.ipynb`](https://github.com/apache/hudi/blob/master/hudi-notebooks/notebooks/common/07_hudi_presto_example.ipynb).
**2. The original harness no longer ships these components.** The `presto-coordinator-1`, `presto-worker-1`, `trino-coordinator-1` and `trino-worker-1` services were removed from every file under `docker/compose/` on 2026-07-08 (commit `3015eb944083`, #19203), so the configuration this issue describes cannot be reproduced in the legacy demo.
@jonvex — thanks for confirming above; agreed this predates both changes.
One caveat worth recording: the hangs and query timeouts reported in 2022 were a **separate** symptom from the architecture check, and have not been re-tested under load on arm64. If those recur on the notebooks stack, please open a fresh issue with the query and a thread dump rather than reopening this one.
Closing as resolved.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
Posted by "rangareddy (via GitHub)" <gi...@apache.org>.
rangareddy commented on issue #15481:
URL: https://github.com/apache/hudi/issues/15481#issuecomment-5165470508
Hi @deepakpanda93
Fix this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
Posted by "jonvex (via GitHub)" <gi...@apache.org>.
jonvex commented on issue #15481:
URL: https://github.com/apache/hudi/issues/15481#issuecomment-5193102948
Hi @deepakpanda93 this ticket is from 2022 so I'm not sure if it's still relevant
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Presto and Trino don't work in Docker Demo M1 mac [hudi]
Posted by "deepakpanda93 (via GitHub)" <gi...@apache.org>.
deepakpanda93 closed issue #15481: Presto and Trino don't work in Docker Demo M1 mac
URL: https://github.com/apache/hudi/issues/15481
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org