Platform: ES 0.9.7 on Ubuntu 12.04 on AWS EC2 instance

I now have the EC2 clustering stuff working on itself.

What I'm trying to do now, is index on ephemeral storage (where I have
space) and save the index to s3, and restore it on EC2 instance startup.

Note: I am only running a single node in a single EC2 instance.

Note2: I will try the EBS stuff also but right now I have an s3 bucket
set up for me, and can experiment with it. I need someone with EC2 admin
privileges to set up the EBS volume (...or so I think...?).

My problem now is that if I set data.path to in
/etc/elasticsearch/elasticsearch.yml to /mnt/elasticsearch (to get
ephemeral storage, since my main problem here is running out of disk
space on an EC2 instance that is started and stopped) then the EC2
discovery and S3 settings seem to be skipped.

Here is the complete elasticsearch.yml file with keys XXX'd:
 https://gist.github.com/steinarb/8094353

Ie. if I don't set path.data then the file
/var/log/elasticsearch/mysecretname-cluster.log is written to, and messages
like this, is output:
 [2013-12-24 12:17:14,341][TRACE][discovery.ec2            ] [Foster, Bill] 
building dynamic unicast discovery nodes...
 [2013-12-24 12:17:14,342][DEBUG][discovery.ec2            ] [Foster, Bill] 
using dynamic discovery nodes []
 ...
 [2013-12-24 12:17:17,715][DEBUG][gateway.s3               ] [Foster, Bill] 
reading state from gateway 
org.elasticsearch.gateway.shared.SharedStorageGateway$1@2eb9f428 ...

If I do set data.path, /var/log/elasticsearch/elasticsearch.log is
written to and no .ec2 and .s3 messages can be found in the log.

(Once I get this working, one more problem will be to ensure that
/mnt/elasticsearch is created and owned by user elasticsearch before ES
is started.)

-- 
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/878uvaig05.fsf%40dod.no.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to