Running elasticsearch on my laptop. Trying to create a snapshot using the 
elasticsearch-cloud-aws plugin to my "elasticsearch-cre-snapshot" bucket on 
s3

andrews-mbp:~ drew$ s3cmd ls | fgrep elasticsearch-cre-snapshot

2014-03-27 04:35  s3://elasticsearch-cre-snapshot

andrews-mbp:~ drew$ curl -XPOST localhost:9200/_snapshot/my_s3_repository 
-d '

{

   "type": "s3",

    "settings": {

        "bucket": "elasticsearch-cre-snapshot",

        "access_key" : "XXXXXX",

        "secret_key" : "YYYYYYYY"

    }

}'

{"acknowledged":true}

Loving life. Sh!t is working. Hoorah! Now for the money shot. Run the 
snapshot...

andrews-mbp:~ drew$ curl -XGET 
localhost:9200/_snapshot/my_s3_repository/snapshot_20140327?wait_for_completion=true

{"error":"SnapshotException[[my_s3_repository:snapshot_20140327] failed to 
get snapshots]; nested: IOException[Failed to get 
[snapshot-snapshot_20140327]]; nested: AmazonS3Exception[Status Code: 404, 
AWS Service: Amazon S3, AWS Request ID: EC672767156D1CA8, AWS Error Code: 
NoSuchKey, AWS Error Message: The specified key does not exist.]; 
","status":500}

What key? 404 what? what? Any suggestions as to what my user error might be?

Here's the versions:

andrews-mbp:~ drew$ curl -s -XGET localhost:9200 | fgrep number

    "number" : "1.0.1",

Built the cloud-aws pluging from the es-1.0 branch on github.

andrews-mbp:~ drew$ ls -l 
/usr/local/var/lib/elasticsearch/plugins/cloud-aws/

total 28344

-rw-r--r--  1 drew  admin  11934540 Mar 27 00:04 aws-java-sdk-1.7.3.jar

-rw-r--r--  1 drew  admin     58160 Mar  2 00:13 commons-codec-1.4.jar

-rw-r--r--  1 drew  admin     60686 Nov 10 23:00 commons-logging-1.1.1.jar

-rw-r--r--  1 drew  admin     46083 Mar 27 00:19 
elasticsearch-cloud-aws-2.0.1-SNAPSHOT.jar

-rw-r--r--  1 drew  admin    424648 Mar 27 00:04 httpclient-4.2.jar

-rw-r--r--  1 drew  admin    223282 Mar 27 00:04 httpcore-4.2.jar

-rw-r--r--  1 drew  admin     34477 Mar 27 00:04 
jackson-annotations-2.1.1.jar

-rw-r--r--  1 drew  admin    206379 Mar 27 00:04 jackson-core-2.1.1.jar

-rw-r--r--  1 drew  admin    922643 Mar 27 00:04 jackson-databind-2.1.1.jar

-rw-r--r--  1 drew  admin    581571 Mar 27 00:04 joda-time-2.3.jar
Any suggestions would be greatly appreciated!
-Andrew

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ca937821-2936-47a5-b92e-81788ca01668%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to