Migrated to 0.19, installed cloud-aws but EC2 discovery not found. #8

phillro opened this Issue Mar 10, 2012 · 8 comments

5 participants


The cloud-aws plugin is installed:
[2012-03-10 01:44:23,709][INFO ][plugins ] [Tundra] loaded [], sites [bigdesk, river-twitter, mapper-attachments, cloud-aws, head]

Startup output:
INFO | jvm 1 | 2012/03/10 01:44:23 | {0.19.0}: Initialization Failed ...
INFO | jvm 1 | 2012/03/10 01:44:23 | - NoClassSettingsException[Failed to load class setting [discovery.type] with value [ec2]]
INFO | jvm 1 | 2012/03/10 01:44:23 | ClassNotFoundException[ec2]
STATUS | wrapper | 2012/03/10 01:44:25 | <-- Wrapper Stopped

bootstrap.mlockall: true
cloud.aws.access_key: ******************
cloud.aws.region: us-east-1
cloud.aws.secret_key: *****************
cluster.name: atreus
discovery.ec2.tag.Name: elasticsearch
discovery.type: ec2
gateway.s3.bucket: maamp-gateway
gateway.type: s3
path.data: /var/data/elasticsearch


Same problem. Any fix?

elastic member

The naming has changed, use a different syntax:

plugin -install elasticsearch/elasticsearch-cloud-aws

Not sure if the issue still exists, but what worked for me was specifying exact plugin versions.

As in:

plugin --install elasticsearch/elasticsearch-cloud-aws/1.5.0/

elastic member

You should be able to install the plugin even without version:

plugin -install elasticsearch/elasticsearch-cloud-aws

You can see the URLs script is trying to download from:

Trying https://github.com/downloads/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-0.19.1.zip...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/v0.19.1...
Trying https://github.com/elasticsearch/elasticsearch-cloud-aws/zipball/master...
Installed cloud-aws


$ 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...
Installed cloud-aws



installing version-less, a la:

plugin -install elasticsearch/elasticsearch-cloud-aws

only installs the source, just a copy of the repo.

Specifying a version using:

plugin -install elasticsearch/elasticsearch-cloud-aws/1.5.0

gets the compiled plugin.

Either works from a download perspective, but when you install version-less and specify ec2 as the discovery type you get the same error that this issue raised.


I can confirm this issue.

Installing without version causes plugins/cloud-aws to not contain any *.jar files. The plugin directory does however contain the plugin sources in plugins/cloud-aws/_site

Including the version while installing solves the issue.

elastic member

Confirmed, that without version the installation fails because of download location change. The solution is to always specify a version.

elastic member

Closing as fixed

@dadoonet dadoonet closed this May 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment