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

Presto ARM Support Master Issue #19624

Open
yingsu00 opened this issue May 11, 2023 · 1 comment
Open

Presto ARM Support Master Issue #19624

yingsu00 opened this issue May 11, 2023 · 1 comment
Labels

Comments

@yingsu00
Copy link
Contributor

yingsu00 commented May 11, 2023

We're trying to make Presto work on M1 processor and found a bunch of issues. We will use this issue as the master issue to track the progress.

Issues

  1. Presto requires x86_64 on Mac OS X (found aarch64) in PrestoSystemRequirements
    Issue: Presto is not supported in Mac OS (PrestoSystemRequirements requires x86_64 on Mac OS X (found aarch64)) #17146
    Fix: Enable ARM Support in Presto #18960 (under review)

  2. Presto CLI can't run on ARM because the current Jansi lib version doesn't support ARM
    Issue: Unable to start presto-cli on ppc64le and ARM #17150
    Fix: Enable ARM Support in Presto #18960 (under review)

  3. Native Hadoop Lib
    Issue:
    Presto failed to load Hadoop native library #18031
    No support for ARM based architectures (Missing hadoop native lib) #17200
    Fix: Add native Hadoop and Snappy libraries for macos-aarch64 presto-hadoop-apache2#59 (approved, pending merge)

  4. Native MySql Lib
    Issue:
    Test error on Mac M1 laptop in module presto-function-namespace-managers #19621
    Release to add M1 (ARM) support  testing-mysql-server#21
    Being worked on by @wanglinsong

  5. Native ZSTD (possible issue)
    Reference: Add support for macOS aarch64 trinodb/trino-hadoop-apache#30

WorkAround:

From @humorless in #17146:

I encountered similar issue, but I installed a jdk version with x86 supported to bypass this issue.

I used sdkman to install jdk. After setting rosetta compatible as true/false, sdk list java will show some jdk version with both x86 & arm or only arm supported. Running presto using a jdk with x86 support can bypass it.
@yingsu00
Copy link
Contributor Author

yingsu00 commented May 12, 2023

We're looking at possibilities loading these native libs via docker images. See the example in #19621 . @ChunxuTang @7c00 @rschlussel @imjalpreet Any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 Unprioritized
Development

No branches or pull requests

2 participants