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

Publish OpenSearch min snapshots for Mac M1 machines #4131

Closed
ryanbogan opened this issue Oct 12, 2023 · 6 comments
Closed

Publish OpenSearch min snapshots for Mac M1 machines #4131

ryanbogan opened this issue Oct 12, 2023 · 6 comments
Labels
enhancement New Enhancement

Comments

@ryanbogan
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, the only way to run plugins on a Mac M1 machine is to specify a path to a custom distribution url that contains a darwin-tar or darwin-arm64-tar gz file of an OpenSearch snapshot.

Describe the solution you'd like
Publish minimum OpenSearch snapshot distributions so that gradle commands (check, run, integTest, etc.) can be run without specifying a path every time.

Additional context
opensearch-project/k-NN#580

@ryanbogan ryanbogan added enhancement New Enhancement untriaged Issues that have not yet been triaged labels Oct 12, 2023
@noCharger
Copy link
Contributor

@bandinib-amzn @peterzhuamazon Could you take a look? @opensearch-project/admin please transfer this to https://github.com/opensearch-project/opensearch-build repo. Thanks!

@gaiksaya
Copy link
Member

Hi @ryanbogan

Please check the documentation here: https://github.com/opensearch-project/opensearch-build/wiki/Building-an-OpenSearch-and-OpenSearch-Dashboards-Distribution#opensearch-min-snapshots
I believe this macOS snapshots are the one you are talking about?

@gaiksaya gaiksaya transferred this issue from opensearch-project/OpenSearch Oct 13, 2023
@gaiksaya gaiksaya removed the untriaged Issues that have not yet been triaged label Oct 13, 2023
@github-actions github-actions bot added the untriaged Issues that have not yet been triaged label Oct 13, 2023
@ryanbogan
Copy link
Member Author

@gaiksaya The M1 machines default to arm64 for the basic commands. Are those available?

@gaiksaya
Copy link
Member

gaiksaya commented Oct 13, 2023

No! I believe we are only building x64 for macOS: https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch/publish-min-snapshots.jenkinsfile#L111-L142

Not sure if there a plan in near future to for arm64. We do have issue open to support macOS as a distribution #38 .
Adding @bbarani @prudhvigodithi

@prudhvigodithi
Copy link
Collaborator

Hey @ryanbogan please check this comment #2216 (comment)

Mac os support x86_64 and arm64 as well, mac m1 works for both x86_64 and arm64 with help of Rosetta 2
arm64 is the architecture used by newer Macs built on Apple Silicon, shipped in late 2020 and beyond, but x64 should work as well, pgrep oahd should output the Rosetta process.

@peterzhuamazon
Copy link
Member

Duplicate with #4670 so move it to there now.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Enhancement
Projects
None yet
Development

No branches or pull requests

6 participants