Downgrade ES 0.90 to 0.20 GONE HORRIBLY WRONG!

I was using logstash v.1.1.13 with the latest version of elasticsearch, ie,
v.0.90.2. But, it wasn't working well and I then read on logstash's sitehttp://logstash.net/docs/1.1.13/outputs/elasticsearch that
I had to install elasticsearch v.0.20.6. So, I did an rm -rf on the
existing elasticsearch and installed v.0.20.6. The problem is that somehow,
it still has retained the old files in the data folder and is unable to
function properly as it looks for files that do not exist (from the old
installation). I am surprised as I had done an rm -rf and it still was
looking for the old files instead of silently looking at the supposedly
empty cluster due to the fresh installation. After breaking my head over a
few things I tried, I finally did a curl -XDELETE, and after this,
elasticsearch starts normally with no errors, but when I go to
localhost:9200, this is what it says:

{
"ok" : true,
"status" : 200,
"name" : "Blob",
"version" : {
"number" : "0.90.2",
"snapshot_build" : false,
"lucene_version" : "4.3.1"
},
"tagline" : "You Know, for Search"
}

Any idea why? And also, how to avoid this error? Please see this question of mine on stackoverflow for the error http://stackoverflow.com/questions/17934525/how-to-remove-elasticsearch that was occurring before I did the curl -XDELETE.

Thank you!

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

You can't downgrade from 0.90 to 0.20.

From the 0.90 release notes: "In order to be able to downgrade, stop
indexing new data, issue a flush request, do the upgrade and only enable
indexing of new data once you are certain that you no longer need to
downgrade. Once new data has been indexed, downgrading is no longer
possible. To be extra safe, back up your data before upgrading."

From what I can deduce from your symptoms, I assume you didn't shutdown the
0.90 instance properly before you overwrote it.

Jörg

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Yup! That was exactly the case. I'd posted the same on stack overflow and
someone told me the same thing and I've now taken care of it. Thank you so
much!
On Jul 29, 2013 11:47 PM, "joergprante@gmail.com" joergprante@gmail.com
wrote:

You can't downgrade from 0.90 to 0.20.

From the 0.90 release notes: "In order to be able to downgrade, stop
indexing new data, issue a flush request, do the upgrade and only enable
indexing of new data once you are certain that you no longer need to
downgrade. Once new data has been indexed, downgrading is no longer
possible. To be extra safe, back up your data before upgrading."

From what I can deduce from your symptoms, I assume you didn't shutdown
the 0.90 instance properly before you overwrote it.

Jörg

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/9b4Rympnp7w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.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.
For more options, visit https://groups.google.com/groups/opt_out.