You are right. It should be ok if the new node joined before I remove
old one, but the new master joined cluster after I removed the old one.
I will change my cluster configuration. I think it is better to make all
nodes both data and master.
But, my question still remains. Is there a way to recover those indices
from files?
On 20-11-2014 00:42, Mark Walkom wrote:
If your new master capable node joined the cluster then it would have
received the cluster state metadata, and (presuming things are all ok)
when you remove the old master then it should be promoted and take
over without problems.
I don't really know much about the AWS plugin though, but a standard
cluster works in that manner.
On 19 November 2014 23:38, Umutcan <umutcan@gamegos.com
mailto:umutcan@gamegos.com> wrote:
I am using 1.4.0 version. There is nothing in the logs.
I started new master after I shut down the old one. I thought new
master could detect indices, but I guess master node stores some
meta data related to indices and these data is gone with the old
master node. New master created all the indices from scratch.
I use timestamp in the index names, so indices before yesterday is
still remains in the data nodes. I want to load these indices.
On 19-11-2014 12:36, Mark Walkom wrote:
What version are you on?
Is there anything in the logs?
On 19 November 2014 18:14, Umutcan <umutcan@gamegos.com
<mailto:umutcan@gamegos.com>> wrote:
Yes, it did and both are set to true.
But, it did not join the cluster until I shut down the old
master.
On 18-11-2014 22:17, Mark Walkom wrote:
Did it join the cluster without any problems?
Is it set to master: true and data:true?
On 19 November 2014 02:29, Umutcan <umutcan@gamegos.com
<mailto:umutcan@gamegos.com>> wrote:
Hi,
I have a cluster with 1 master and 3 data nodes. I
needed to change master node. So, I created a new master
node and shutdown the old one. Both are EC2 instances.
After doing this new master did not find old indices.
All the files belong to old indices still remains inside
the data nodes.
Is there a way to make new master node find those files
and use old indices?
Thanks,
Umutcan
--
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
<mailto:elasticsearch%2Bunsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/546B65DB.1040201%40gamegos.com.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:elasticsearch+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZmspn9Nh0V7YZGkhYXFBKWR1B%3DYonZm1jpk%2By5oivcKNw%40mail.gmail.com
<https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZmspn9Nh0V7YZGkhYXFBKWR1B%3DYonZm1jpk%2By5oivcKNw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:elasticsearch+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/546C435F.1020000%40gamegos.com
<https://groups.google.com/d/msgid/elasticsearch/546C435F.1020000%40gamegos.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:elasticsearch+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZnj9Hv7gvwOXJNifOYJsksqFb65n%3Dt5uMkYwzmgxk3ZwQ%40mail.gmail.com
<https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZnj9Hv7gvwOXJNifOYJsksqFb65n%3Dt5uMkYwzmgxk3ZwQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:elasticsearch+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/546C8F55.5000700%40gamegos.com
<https://groups.google.com/d/msgid/elasticsearch/546C8F55.5000700%40gamegos.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZ%3Dz5mSJ0tUZkZwhHWgiYEVvA%3DewMJU70PbBt_gZURTiLg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAF3ZnZ%3Dz5mSJ0tUZkZwhHWgiYEVvA%3DewMJU70PbBt_gZURTiLg%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.
--
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/546D9173.9020205%40gamegos.com.
For more options, visit https://groups.google.com/d/optout.