Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Mark Walkom
Is it a single node cluster? Howe are you installing things; deb, rpm, zip? How are you uninstalling it? Exact commands for the above will be helpful :) Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 12 June 2014

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Sebastian Okser
I originally installed it with: cd ~ wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz -O elasticsearch.tar.gz tar -xf elasticsearch.tar.gz rm elasticsearch.tar.gz mv elasticsearch-* elasticsearch sudo mv elasticsearch /usr/local/share curl -L

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Sebastian Okser
I should add that I have also tried uninstalling the RPM and reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall. On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser sok...@gmail.com wrote: I originally installed it with: cd ~ wget

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Mark Walkom
You may have a data directory under /usr/local/share/elasticsearch, or under /usr/share/elasticsearch, if it's there and you don't want the data, delete them. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 12 June

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Sebastian Okser
Neither have data directories. I also deleted all files I could find located at /var/lib/elasticsearch including /var/lib/elasticsearch/elasticsearch/nodes/0/indices, /etc/elasticsearch, their parent directories and every other directory I could find. I then again reinstalled and the data again

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Mark Walkom
Just to clarify, is it just the directory that appears again at /var/lib/elasticsearch/elasticsearch/nodes/0/indices, or are you saying the indexed data in the shards is reappearing as well? Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web:

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Sebastian Okser
I don't see data, but I see it searching for the shards in the log files. Other functionality regarding the JDBC rivers don't seem to be working either in 1.2.1, but its extremely hard to debug those issues when my log files are constantly being filled with the following every minute or so.

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Mark Walkom
Why does it mention this path /home/programs/elasticsearch-1.2.1/ data/elasticsearch/nodes/1/indices/blurays/3/index/segments_1 Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 12 June 2014 16:33, Sebastian Okser

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Sebastian Okser
That directory is being created automatically every time I start elasticsearch. [root@254020-web1 programs]# service elasticsearch stop Stopping elasticsearch:[ OK ] [root@254020-web1 programs]# ls elasticsearch-1.2.1 [root@254020-web1 programs]# rm -rf *

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-12 Thread Mark Walkom
Can you put your config in a gist/pastebin then, you must have set the data directory to that at some point and it's still reading it. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 12 June 2014 16:49, Sebastian

Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread John
I recently upgraded to elasticsearch 1.2.1 and have since seen most of my scripts stop working. Nothing seems to work properly and I think I may have messed up during the upgrade. How can I properly delete elasticsearch and all associated data so I can reinstall it from scratch (all data,

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Ivan Brusic
Regarding your problem, are you perhaps running into the fact that dynamic scripts are now disabled by default since 1.2? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting In terms of deleting the existing version, it all

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
I tried deleting the directories an reinstalling but somehow it keeps loading in my old environment even when I try to rm -rf the directories after shutting down the server? Where is elasticsearch hiding these files? On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic i...@brusic.com wrote: Regarding