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:
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.