Can't install cloud-aws plugin


(Eric Jain) #1

$ plugin -install elasticsearch/elasticsearch-cloud-aws/1.4.0
-> Installing elasticsearch/elasticsearch-cloud-aws/1.4.0...
Trying https://github.com/downloads/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-1.4.0.zip...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.4.0...
Failed to install elasticsearch/elasticsearch-cloud-aws/1.4.0, reason:
failed to download

I can manually download the plugin from
https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.4.0;
but this contains sources only, so this probably won't work on a
machine that has no JDK, just a JRE?

$ plugin -install elasticsearch/elasticsearch-cloud-aws/1.5.0
-> Installing elasticsearch/elasticsearch-cloud-aws/1.5.0...
Trying https://github.com/downloads/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-1.5.0.zip...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.5.0...
Failed to install elasticsearch/elasticsearch-cloud-aws/1.5.0, reason:
failed to download

Couldn't find a manual download for this version--the git repo doesn't
seem to have a 1.5.0 tag...


(Ivan Brusic) #2

Not sure what the issue is, but you can also find the downloads here:

Try download the zip/gz and use a local install.

--
Ivan

On Fri, May 18, 2012 at 3:38 PM, Eric Jain eric.jain@gmail.com wrote:

$ plugin -install elasticsearch/elasticsearch-cloud-aws/1.4.0
-> Installing elasticsearch/elasticsearch-cloud-aws/1.4.0...
Trying https://github.com/downloads/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-1.4.0.zip...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.4.0...
Failed to install elasticsearch/elasticsearch-cloud-aws/1.4.0, reason:
failed to download

I can manually download the plugin from
https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.4.0;
but this contains sources only, so this probably won't work on a
machine that has no JDK, just a JRE?

$ plugin -install elasticsearch/elasticsearch-cloud-aws/1.5.0
-> Installing elasticsearch/elasticsearch-cloud-aws/1.5.0...
Trying https://github.com/downloads/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-1.5.0.zip...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v1.5.0...
Failed to install elasticsearch/elasticsearch-cloud-aws/1.5.0, reason:
failed to download

Couldn't find a manual download for this version--the git repo doesn't
seem to have a 1.5.0 tag...


(Eric Jain) #3

On May 18, 3:45 pm, Ivan Brusic i...@brusic.com wrote:

Not sure what the issue is, but you can also find the downloads here:https://github.com/elasticsearch/elasticsearch-cloud-aws/downloads

Try download the zip/gz and use a local install.

Thanks, hadn't seen these downloads.

Now I should be able to drop the jars directly into the /usr/share/
elasticsearch/plugins dir, right (using the deb package)?

If I add "plugin.mandatory: aws-cloud" to elasticsearch.yml,
elasticsearch gets stuck at:

[INFO ][node ] [Missing Link] {0.19.3}[11826]:
initializing ...


(Ivan Brusic) #4

From what I remember, you just need to place the unzipped contents in
the plugins directory. You can also still use bin/plugin -install if
you set the url to the filesystem.

--
Ivan

On Fri, May 18, 2012 at 4:21 PM, Eric Jain eric.jain@gmail.com wrote:

On May 18, 3:45 pm, Ivan Brusic i...@brusic.com wrote:

Not sure what the issue is, but you can also find the downloads here:https://github.com/elasticsearch/elasticsearch-cloud-aws/downloads

Try download the zip/gz and use a local install.

Thanks, hadn't seen these downloads.

Now I should be able to drop the jars directly into the /usr/share/
elasticsearch/plugins dir, right (using the deb package)?

If I add "plugin.mandatory: aws-cloud" to elasticsearch.yml,
elasticsearch gets stuck at:

[INFO ][node ] [Missing Link] {0.19.3}[11826]:
initializing ...


(Eric Jain) #5

On May 18, 4:39 pm, Ivan Brusic i...@brusic.com wrote:

From what I remember, you just need to place the unzipped contents in
the plugins directory. You can also still use bin/plugin -install if
you set the url to the filesystem.

Thanks for the help!

Turns out the plugin installation works fine, I just didn't have
sufficient permissions. This wasn't obvious from the error message...

Also, the plugin name is "cloud-aws", not "aws-cloud". For manual
installation, you need to unzip the plugin into a subdirectory (named
after the plugin) of the plugins dir.


(system) #6