ElasticSearch

Problèmes

Source: http://grokbase.com/t/gg/elasticsearch/126p7xb3bg/es-failed-to-recover-after-crash

Des fois, ça crashe. Si on constate le message suivant:
[2012-06-22 17:36:17,165][WARN ][indices.cluster ] [Cat-Man] [*
myindex*][*1*] failed to start shard

Solution: It means that it cannot recover shard *1* of the index *myindex* on the node Cat-Man. If you take a look at data/elasticsearch/nodes/0/indices/* myindex/1*/translog directory, you will find files like this: translog-123456677899 or translog-123456677899.recovering. One of them will have non-zero length. Move it to a temporary directory and try starting the server.

Page last modified on January 21, 2015, at 02:52 PM EST