Upgrade elasticsearch server


(Michael Huang) #1

I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1.
What is the steps to upgrade it. is it simply shutdown beta1 version and
startup with 1.0.1 version with the same config?

Thanks,
Michael

--
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/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(David Pilato) #2

I think you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2014 à 07:36, Michael Huang opensource5168@gmail.com a écrit :

I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1. What is the steps to upgrade it. is it simply shutdown beta1 version and startup with 1.0.1 version with the same config?

Thanks,
Michael

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/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/06F2F7A1-407E-4D10-9A74-6C13CF08A1E4%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.


(Michael Huang) #3

Thanks David.

I am new to this. How do you reindex? Is there a API that i can call to
index all indexes?

Thanks in advance.

Michael

On Tuesday, March 4, 2014 11:46:49 PM UTC-8, David Pilato wrote:

I think you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2014 à 07:36, Michael Huang <opensou...@gmail.com <javascript:>>
a écrit :

I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1.
What is the steps to upgrade it. is it simply shutdown beta1 version and
startup with 1.0.1 version with the same config?

Thanks,
Michael

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/3d41fb25-5ec0-4e9f-8297-1f4e072d62ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #4

If you still have your data source, use it as you used it the first time you created your index.
If not, if you did not disable _source, you could read all your data from the old cluster using scan&scroll with a matchAll query and push them into new cluster using Bulk.

Have a look at https://github.com/elasticsearch/stream2es
% stream2es es --source http://foo.local:9200/wiki --target http://bar.local:9200/wiki2

It could help here.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 7 mars 2014 à 05:52, Michael Huang opensource5168@gmail.com a écrit :

Thanks David.

I am new to this. How do you reindex? Is there a API that i can call to index all indexes?

Thanks in advance.

Michael

On Tuesday, March 4, 2014 11:46:49 PM UTC-8, David Pilato wrote:
I think you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2014 à 07:36, Michael Huang opensou...@gmail.com a écrit :

I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1. What is the steps to upgrade it. is it simply shutdown beta1 version and startup with 1.0.1 version with the same config?

Thanks,
Michael

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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/3d41fb25-5ec0-4e9f-8297-1f4e072d62ed%40googlegroups.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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4A950880-9624-453B-A4E9-BF5D6213B937%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(Michael Huang) #5

Thanks again. This really cool. Let me try that tomorrow.

After I did my previous post, I thought 1.0beta1 should be just same (due
to minor version 1.0beta to 1.0.1 GA), I swapped one of the node with ES
1.0.1. Looks like joined the cluster, but nothing is responding. I took
it out and ES cluster is happy again. And the put back the ES 1.0 beta1.

Michael

On Thursday, March 6, 2014 10:55:19 PM UTC-8, David Pilato wrote:

If you still have your data source, use it as you used it the first time
you created your index.
If not, if you did not disable _source, you could read all your data from
the old cluster using scan&scroll with a matchAll query and push them into
new cluster using Bulk.

Have a look at https://github.com/elasticsearch/stream2es

% stream2es es --source http://foo.local:9200/wiki --target http://bar.local:9200/wiki2

It could help here.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 7 mars 2014 à 05:52, Michael Huang <opensou...@gmail.com <javascript:>>
a écrit :

Thanks David.

I am new to this. How do you reindex? Is there a API that i can call to
index all indexes?

Thanks in advance.

Michael

On Tuesday, March 4, 2014 11:46:49 PM UTC-8, David Pilato wrote:

I think you have to reindex.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2014 à 07:36, Michael Huang opensou...@gmail.com a écrit :

I have elasticsearch 1.0beta1. I want to upgrade to elasticsearch 1.0.1.
What is the steps to upgrade it. is it simply shutdown beta1 version and
startup with 1.0.1 version with the same config?

Thanks,
Michael

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/6c0d9e81-4e43-42b1-97fc-1b08f9daa55f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/3d41fb25-5ec0-4e9f-8297-1f4e072d62ed%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/3d41fb25-5ec0-4e9f-8297-1f4e072d62ed%40googlegroups.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/dc5daa99-b047-4340-badf-47c6ed6a528f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #6