GithubHelp home page GithubHelp logo

Comments (10)

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024 2

Push to candidate channel and did a test on repository-s3, which works:

$ ./opensearch-plugin install repository-s3
-> Installing repository-s3
-> Downloading repository-s3 from opensearch
[=================================================] 100%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.SocketPermission * connect,resolve
* java.util.PropertyPermission opensearch.allow_insecure_settings read,write
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
-> Installed repository-s3 with folder name repository-s3

$ ll ../plugins/ | grep repository-s3
drwxr-xr-x 2 opensearch opensearch 4096 Oct  1 21:06 repository-s3

from opensearch-build.

AmiStrn avatar AmiStrn commented on June 18, 2024 1

It would be great to have a fix for this backported as far as possible. since some users would not be able to move to v1.0.0 without this fixed (therefore it would be a major breaking change between Elasticsearch and OpenSearch).
Additionally, those that are already using the workaround would benefit from this as they could avoid the pains of upgrading if they are not interested in v1.1.0 yet.

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024 1

We have fixed the issue in opensearch-project/OpenSearch#1233.
Native plugin for 1.1.0 will be available once 1.1.0 release.
Thanks

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024

@mch2

Run the command in both snapshots and releases version of min shows 2 different behaviors:

# Snapshots
$ ./opensearch-plugin install repository-s3
-> Installing repository-s3
-> Failed installing repository-s3
-> Rolling back repository-s3
-> Rolled back repository-s3
ERROR: attempted to install release build of official plugin on snapshot build of OpenSearch

# Releases
$ ./opensearch-plugin install repository-s3
-> Installing repository-s3
-> Downloading repository-s3 from opensearch
-> Failed installing repository-s3
-> Rolling back repository-s3
-> Rolled back repository-s3
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://artifacts.opensearch.org/releases/plugins/repository-s3/1.0.0/repository-s3-1.0.0.zip
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
	at org.opensearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:438)
	at org.opensearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:515)
	at org.opensearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:306)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:260)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:237)
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
	at org.opensearch.cli.Command.main(Command.java:103)
	at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024

Related issues during release of these artifacts:
opensearch-project/OpenSearch#996

from opensearch-build.

pkalliok-aiven avatar pkalliok-aiven commented on June 18, 2024

We are also very much looking for mapper-size and analysis plugins. Is there any way to install them currently? Just build from source?

from opensearch-build.

tlfeng avatar tlfeng commented on June 18, 2024

We are also very much looking for mapper-size and analysis plugins. Is there any way to install them currently? Just build from source?

Hi @pkalliok-aiven I think currently the the artifacts of the native plugins exist in artifacts.opensearch.org, but there is an issue when installing a plugin with its name (mentioned in issue opensearch-project/OpenSearch#996).
However, you could install by the URL, for example:
./opensearch-plugin install https://artifacts.opensearch.org/releases/plugins/mapper-size/1.0.0/mapper-size-1.0.0.zip

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024

native-plugins-1.1.0.log

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024

The build is completed for now.
We will use #686 to track the release of native plugins in 1.1.0.

from opensearch-build.

peterzhuamazon avatar peterzhuamazon commented on June 18, 2024

1.1.0 Native Plugins released for now.

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.