Facing problem while taking snapshot from elastic search 1.3.2 to amazon s3 bucket


(Tanveer Ali) #1

Hi,

I have an elastic search 1.3.2 installed in one of my aws instance, I
followed the given steps to install the elastic cloud was plugin 2.3.0
(since it is compatible version mentioned in the docs).

After that i have updated elasticsearch.yml with my s3 credentials and
restarted elasticsearch with the command

"sudo service elastic search restart"

Now when i am trying to create a repository by using following command

curl -XPUT 'http://localhost:9200/_snapshot/s3_repos' -d '{

"type" : "s3",

"settings": {

  "location": "########",
  "region": "#########"

}
}'

I am getting the following error:

{"error":"RemoteTransportException[[######.com][inet[/######:9300]][cluster/repository/put]];
nested: RepositoryException[[s3_repos] failed to create repository];
nested: NoClassSettingsException[failed to load class with value [s3];
tried [s3, org.elasticsearch.repositories.S3RepositoryModule, org.elasticsearch.repositories.s3.S3RepositoryModule, org.elasticsearch.repositories.s3.S3RepositoryModule]]; nested:
ClassNotFoundException[org.elasticsearch.repositories.s3.S3RepositoryModule];
","status":500}

Any help on what I am missing in it would be of great help.

Thanks in advance.

Regards,
Tanveer.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c250ad4a-3995-4b3c-9ade-650f0029344d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2