Getting Data To Persist

(Kenneth Loafman) #1

[resend because original did not show up]


I installed elasticsearch-0.8.0 on 64-bit Ubuntu 9.10 system. It comes
up, runs fine, creates the indices I want, etc., but has a very serious
problem I can't trace down. If I do a 'bin/service/elasticsearch
restart' command (change config/restart), the entire database
disappears. I'm fairly certain this is not the desired action. Here's
a console log showing what happens:

ken@stealth:/opt/elasticsearch-0.8.0$ ll work/elasticsearch/indices/
total 4
drwxr-xr-x 22 ken ken 4096 2010-07-07 17:48

<go off and run ES for a while, then restart>

ken@stealth:/opt/elasticsearch-0.8.0$ bin/service/elasticsearch restart
Stopping ElasticSearch...
Stopped ElasticSearch.
Starting ElasticSearch...Waiting for ElasticSearch......
ElasticSearch started.

ken@stealth:/opt/elasticsearch-0.8.0$ ll
ls: cannot access
work/elasticsearch/indices/74f73a5f-50a0-4ad4-a574-6466300b9399/: No
such file or directory
ken@stealth:/opt/elasticsearch-0.8.0$ ll work/elasticsearch/indices/
total 0

I've read through the docs many times (very terse), changed config,
blown it away and unzipped again, nothing helps. Perhaps you can tell
me what I can do to correct the problem. I'm pretty sure it should
persist the data.


(system) #2