-
Notifications
You must be signed in to change notification settings - Fork 273
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
OpenSearch / OpenSearch Dashboards - macOS distribution (X64) #38
Comments
Please prioritize this to speed up development on mac. |
With #751 you can produce a darwin bundle for OpenSearch. This creates
All plugins except PA seem to load, opened opensearch-project/performance-analyzer#73 |
@bbarani @saratvemulapalli @peternied @dblock Is this scheduled for 1.3 release? This comment seems to imply it, but the roadmap for infra seemed to not have it on there or scheduled for 1.3 release. Can we get some clarification on when this is going to be completed? |
My comment is based of the roadmap: https://github.com/orgs/opensearch-project/projects/1#column-14092180. Assuming it's up to date. |
@saratvemulapalli Thanks Sarat, looks like it is scheduled for 1.3 unless @bbarani mentions otherwise. |
Someone contributed a formulae to Homebrew that builds and runs OpenSearch-min and OpenSearch Dashboards from source. https://github.com/Homebrew/homebrew-core/blob/master/Formula/opensearch.rb See #1314 (comment) |
We are currently working on creating Linux based distributions (RPM and Deb) at this point in time. Please feel free to provide your inputs on this issue #741 to prioritize other non Linux distributions for us to pickup post that effort. As always, we welcome any contribution towards the development of additional distributions. |
I have put together a basic script that will:
I'm going to run it against all repositories under opensearch-project. |
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
@msfroh btw, you might be interested in https://github.com/opensearch-project/project-meta and things like https://github.com/opensearch-project/opensearch-clients/blob/main/META.md#open-a-pull-request-in-each-repo |
This is a test commit to verify whether existing workflow actions can run on macos-latest. See opensearch-project/opensearch-build#38 for more details. Signed-off-by: Michael Froh <froh@amazon.com>
I did an audit of all repos (see https://gist.github.com/msfroh/5071d8be1b5408526b6fce0440fc27c0), cutting some automated PRs to see what would happen if we just add The repos where that "just worked" were common-utils, k-NN, and oui. Here are the repos that require more complicated actions, with recommendations:
Across the board, I've struggled to get Cypress integration tests passing for OpenSearch Dashboards plugins on MacOS. I've tried several things in opensearch-project/dashboards-search-relevance#143, like increasing start-up time for OSD, but nothing seems to work. In general, the effort for OSD plugins seems to be higher than for OS core plugins. |
Oh, also I'm working from the assumption that any MacOS distribution at this point would need ARM support to be useful. My 1.5 year-old Mac laptop uses an M1 processor and I gather that more and more folks will be in the same boat as time goes on. |
Recently the security team dropped support for MacOS builds because builds were slower and network infrastructure was flaky. We should investigate the reliability of this platform as this will have an impact on maintenance of repositories opensearch-project/security#2467 |
Not that I know of currently. @bbarani Might be able to get more information. The above PR was to support signing clients and driver and other standalone artifacts that have macos as one of the distribution. 😄 |
@gaiksaya @dblock we haven't prioritized it yet. We are planning to look in to it in Q3 / Q4 of 2023. |
Naive question: OpenSearch is written in Java, isn't it? Is the bundled JRE/JDK the only platform-dependent part of the distributions? |
Unfortunately not, we have some native code in the ml-commons plugin, for example (though I think it can build for MacOS even on ARM). Also, for OpenSearch Dashboards, there's a lot of NodeJS stuff going on. Looking back at the experimentation I did in February, OpenSearch Dashboards was where most of the headaches came in. (OpenSearch core builds and runs just fine on my M1 laptop, for example.) |
With OS core snapshot available for both x64 and arm64, we might need to think about expand into a full bundle: |
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Provide signed macOS (X64) artifact for OpenSearch / OpenSearch Dashboards
Describe alternatives you've considered
Generating the artifact using the source code
Additional context
Currently there are macOS (X64) artifacts for OpenSearch / OpenSearch Dashboards
The text was updated successfully, but these errors were encountered: