Can not open index


(jin2014) #1

Hello.
I have trouble to open index that I closed yesterday.
there are 3 nodes in elasticsearch-1.1.0/data/elasticsearch/nodes/0, 1, 2
I can open & close indexs in nodes 0.
but can't open indexs in nodes 1.

nodes/0 have indices and _stat folder with empty node.lock file.
nodes/1 does not have node.lock file.

For example,
2013-11-25 folder exists in
elasticsearch-1.1.0/data/elasticsearch/nodes/0/indices
2014-01-01 folder exists in
elasticsearch-1.1.0/data/elasticsearch/nodes/1/indices

curl -XPOST 'localhost:9200/2013-11-25/_open'
{"acknowledged":true}

curl -XPOST localhost:9200/2014-01-01/_open'
{"error":"IndexMissingException[[2014-01-01] missing]","status":404}

is there any one who know what is going wrong with it?
and there is no error in log files.

thanks in advance.

Jin

--
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/3079c697-8213-4622-bbe3-426dfecee9b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

Check your ES logs, it should show something useful.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 16 July 2014 14:50, jin201407@gmail.com wrote:

Hello.
I have trouble to open index that I closed yesterday.
there are 3 nodes in elasticsearch-1.1.0/data/elasticsearch/nodes/0, 1, 2
I can open & close indexs in nodes 0.
but can't open indexs in nodes 1.

nodes/0 have indices and _stat folder with empty node.lock file.
nodes/1 does not have node.lock file.

For example,
2013-11-25 folder exists in
elasticsearch-1.1.0/data/elasticsearch/nodes/0/indices
2014-01-01 folder exists in
elasticsearch-1.1.0/data/elasticsearch/nodes/1/indices

curl -XPOST 'localhost:9200/2013-11-25/_open'
{"acknowledged":true}

curl -XPOST localhost:9200/2014-01-01/_open'
{"error":"IndexMissingException[[2014-01-01] missing]","status":404}

is there any one who know what is going wrong with it?
and there is no error in log files.

thanks in advance.

Jin

--
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/3079c697-8213-4622-bbe3-426dfecee9b3%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/3079c697-8213-4622-bbe3-426dfecee9b3%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/CAEM624Y5miy1-2ZxMzHVpE7CWHQdAdX4-_8cLp2j9EYZ6j2zsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3