Git Product home page Git Product logo

Comments (21)

bbarani avatar bbarani commented on July 17, 2024 2

@gaiksaya @dblock we haven't prioritized it yet. We are planning to look in to it in Q3 / Q4 of 2023.

from opensearch-build.

jmazanec15 avatar jmazanec15 commented on July 17, 2024 1

@bbarani is it possible to release an ARCHIVE testDistribution for Mac? Related to opensearch-project/OpenSearch#1676.

from opensearch-build.

setiah avatar setiah commented on July 17, 2024 1

@bbarani is it possible to release an ARCHIVE testDistribution for Mac? Related to opensearch-project/OpenSearch#1676.

I like this. Unblocking developers would also help individual plugins move faster on this meta issue. I see this is happening already - opensearch-project/OpenSearch#1676 (comment). Thanks!

from opensearch-build.

msfroh avatar msfroh commented on July 17, 2024 1

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 macos-latest everywhere that has ubuntu-latest and windows-latest.

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.

from opensearch-build.

skkosuri-amzn avatar skkosuri-amzn commented on July 17, 2024

Please prioritize this to speed up development on mac.

from opensearch-build.

dblock avatar dblock commented on July 17, 2024

With #751 you can produce a darwin bundle for OpenSearch. This creates bundle/opensearch-1.1.0-darwin-x64.tar.gz.

./build.sh manifests/1.1.0/opensearch-1.1.0.manifest.yml
./assemble.sh artifacts/manifest.yml
cd artifacts
./opensearch-tar-install.sh
$ curl -u admin:admin --insecure https://localhost:9200
{
  "name" : "...",
  "cluster_name" : "opensearch",
  "cluster_uuid" : "04husTTqQi6cd2bPSRvuqw",
  "version" : {
    "distribution" : "opensearch",
    "number" : "1.1.0",
    "build_type" : "tar",
    "build_hash" : "15e9f137622d878b79103df8f82d78d782b686a1",
    "build_date" : "2021-10-15T13:14:16.973135Z",
    "build_snapshot" : false,
    "lucene_version" : "8.9.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

All plugins except PA seem to load, opened opensearch-project/performance-analyzer#73

from opensearch-build.

dbbaughe avatar dbbaughe commented on July 17, 2024

@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?

from opensearch-build.

saratvemulapalli avatar saratvemulapalli commented on July 17, 2024

My comment is based of the roadmap: https://github.com/orgs/opensearch-project/projects/1#column-14092180. Assuming it's up to date.

from opensearch-build.

dbbaughe avatar dbbaughe commented on July 17, 2024

@saratvemulapalli Thanks Sarat, looks like it is scheduled for 1.3 unless @bbarani mentions otherwise.

from opensearch-build.

dblock avatar dblock commented on July 17, 2024

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)

from opensearch-build.

bbarani avatar bbarani commented on July 17, 2024

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.

from opensearch-build.

saratvemulapalli avatar saratvemulapalli commented on July 17, 2024

@bbarani with the launch of RPM/DEB, are we looking to add support for MacOS?
Coming from: opensearch-project/OpenSearch#1676

from opensearch-build.

bbarani avatar bbarani commented on July 17, 2024

@saratvemulapalli We are currently working on supporting Windows distribution and you can track the status of other distributions here

CC: @setiah

from opensearch-build.

msfroh avatar msfroh commented on July 17, 2024

I have put together a basic script that will:

  1. Fork a repo and clone the fork,
  2. Find any GitHub workflows that run on windows-latest but not macos-latest, and add macos-latest to the matrix.os
  3. Commit + push that change back to the fork. (The commit message has a pointer to this issue.)
  4. Cut a PR against the source repo. (We'll be able to see from the PR checks if the macos-latest build succeeds or fails.)

I'm going to run it against all repositories under opensearch-project.

from opensearch-build.

dblock avatar dblock commented on July 17, 2024

@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

from opensearch-build.

msfroh avatar msfroh commented on July 17, 2024

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.

from opensearch-build.

peternied avatar peternied commented on July 17, 2024

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

from opensearch-build.

dblock avatar dblock commented on July 17, 2024

Looks like we're doing some work in this space with #3670. @gaiksaya is there a plan to make a macos distribution? Are we going to do the items listed above too?

from opensearch-build.

gaiksaya avatar gaiksaya commented on July 17, 2024

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. 😄

from opensearch-build.

lpsinger avatar lpsinger commented on July 17, 2024

Naive question: OpenSearch is written in Java, isn't it? Is the bundled JRE/JDK the only platform-dependent part of the distributions?

from opensearch-build.

msfroh avatar msfroh commented on July 17, 2024

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.)

from opensearch-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.