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

Error installing into elasticsearch 2.3.1 #25

Open
thiagomata opened this issue Apr 20, 2016 · 2 comments
Open

Error installing into elasticsearch 2.3.1 #25

thiagomata opened this issue Apr 20, 2016 · 2 comments
Labels

Comments

@thiagomata
Copy link

$ ./elasticsearch --version

Version: 2.3.1, Build: bd98092/2016-04-04T12:25:05Z, JVM: 1.7.0_95

$ sudo ./plugin install org.codelibs/elasticsearch-dataformat/2.3.1 --verbose

Version: 2.3.1, Build: bd98092/2016-04-04T12:25:05Z, JVM: 1.7.0_95 ubuntu@elastic-search-master:/usr/share/elasticsearch/bin$ ^Cdo ./plugin install org.codelibs/elasticsearch-dataformat/2.3.1 --verbose ubuntu@elastic-search-master:/usr/share/elasticsearch/bin$ sudo ./plugin install org.codelibs/elasticsearch-dataformat/2.3.1 --verbose -> Installing org.codelibs/elasticsearch-dataformat/2.3.1... Trying https://download.elastic.co/org.codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://download.elastic.co/org.codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://download.elastic.co/org.codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip]; Trying https://search.maven.org/remotecontent?filepath=org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://search.maven.org/remotecontent?filepath=org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://search.maven.org/remotecontent?filepath=org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; Trying https://oss.sonatype.org/service/local/repositories/releases/content/org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/org/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; Trying https://github.com/org.codelibs/elasticsearch-dataformat/archive/2.3.1.zip ... Failed: FileNotFoundException[https://github.com/org.codelibs/elasticsearch-dataformat/archive/2.3.1.zip]; nested: FileNotFoundException[https://github.com/org.codelibs/elasticsearch-dataformat/archive/2.3.1.zip]; Trying https://github.com/org.codelibs/elasticsearch-dataformat/archive/master.zip ... Failed: FileNotFoundException[https://github.com/org.codelibs/elasticsearch-dataformat/archive/master.zip]; nested: FileNotFoundException[https://github.com/org.codelibs/elasticsearch-dataformat/archive/master.zip]; ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

Looking to the link https://github.com/org.codelibs/elasticsearch-dataformat/archive/master.zip, what should be https://github.com/org.codelibs/elasticsearch-dataformat/archive/master.zip, I dediced to try change the command to

sudo ./plugin install codelibs/elasticsearch-dataformat/2.3.1 --verbose

-> Installing codelibs/elasticsearch-dataformat/2.3.1... Trying https://download.elastic.co/codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://download.elastic.co/codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://download.elastic.co/codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.1.zip]; Trying https://search.maven.org/remotecontent?filepath=codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://search.maven.org/remotecontent?filepath=codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://search.maven.org/remotecontent?filepath=codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; Trying https://oss.sonatype.org/service/local/repositories/releases/content/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip ... Failed: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; nested: FileNotFoundException[https://oss.sonatype.org/service/local/repositories/releases/content/codelibs/elasticsearch-dataformat/2.3.1/elasticsearch-dataformat-2.3.1.zip]; Trying https://github.com/codelibs/elasticsearch-dataformat/archive/2.3.1.zip ... Failed: FileNotFoundException[https://codeload.github.com/codelibs/elasticsearch-dataformat/zip/2.3.1]; nested: FileNotFoundException[https://codeload.github.com/codelibs/elasticsearch-dataformat/zip/2.3.1]; Trying https://github.com/codelibs/elasticsearch-dataformat/archive/master.zip ... Downloading ..........................DONE Verifying https://github.com/codelibs/elasticsearch-dataformat/archive/master.zip checksums if available ... NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify) ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

@thiagomata
Copy link
Author

thiagomata commented Apr 20, 2016

When I tried this way:

ubuntu@elastic-search:/usr/share/elasticsearch$ sudo ./bin/plugin install org.codelibs/elasticsearch-dataformat/2.3.0

It looks like it worked.

-> Installing org.codelibs/elasticsearch-dataformat/2.3.0...
Trying https://download.elastic.co/org.codelibs/elasticsearch-dataformat/elasticsearch-dataformat-2.3.0.zip ...
Trying https://search.maven.org/remotecontent?filepath=org/codelibs/elasticsearch-dataformat/2.3.0/elasticsearch-dataformat-2.3.0.zip ...
Downloading ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying https://search.maven.org/remotecontent?filepath=org/codelibs/elasticsearch-dataformat/2.3.0/elasticsearch-dataformat-2.3.0.zip checksums if available ...
Downloading .DONE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
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 dataformat into /usr/share/elasticsearch/plugins/dataformat

@marevol
Copy link
Contributor

marevol commented Apr 21, 2016

Plugin version is different from elasticsearch version.
See readme:
https://github.com/codelibs/elasticsearch-dataformat#version

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

No branches or pull requests

2 participants