2015-02-16 4 views
7

मैं अंतरिक्ष बनाया के बाद काम कर रहा है नहीं, सेवा को पुन: प्रारंभ (अच्छा नहीं) और फिर रिबूट लेकिन मैं अभी भी elasticsearch.log में यह मिलता है:Elasticsearch पूर्ण डिस्क

[2015-02-16 13:35:19,625][WARN ][cluster.action.shard  ] [Server] [logstash-2015.02.16][1] sending failed shard for [logstash-2015.02.16][1], node[PFamB-ZJS7CwSdyyAcP_8A], [P], s[INITIALIZING], indexUUID [tZ3I9HZ6TDaZSicIuGWRWQ], 
    reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.02.16][1] 
    failed to recover shard]; nested: TranslogCorruptedException[translog corruption while reading from stream]; nested: ElasticsearchIllegalArgumentException[No version type match [83]]; ]] 
[2015-02-16 13:35:19,625][WARN ][cluster.action.shard  ] [Server] [logstash-2015.02.16][1] received shard failed for [logstash-2015.02.16][1], node[PFamB-ZJS7CwSdyyAcP_8A], [P], s[INITIALIZING], indexUUID [tZ3I9HZ6TDaZSicIuGWRWQ], 
    reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.02.16][1] 
    failed to recover shard]; nested: TranslogCorruptedException[translog corruption while reading from stream]; nested: ElasticsearchIllegalArgumentException[No version type match [83]]; ]] 
[2015-02-16 13:35:43,570][DEBUG][action.index    ] [Server] observer: timeout notification from cluster service. timeout setting [1m], time since start [1m] 
[2015-02-16 13:36:10,757][DEBUG][action.index    ] [Server] observer: timeout notification from cluster service. timeout setting [1m], time since start [1m] 

मुझे क्या करना चाहिए?

+0

क्या यह प्राथमिक या प्रतिकृति है जिसमें समस्या है? 'curl -XGET" http: // localhost क्या है: 9200/_cat/shards? v "' show? –

+4

मुझे /var/lib/elasticsearch/elasticsearch/nodes/0/indices/logstash-2015.02.16/1/translog/translog-1424037601837.recovering से बाहर निकलने के द्वारा इसे ठीक किया गया है, लेकिन मैं अब पुनः खो गया कुछ फाइलें इस फाइल के रूप में 40 मीटर थीं? – bigfoot

+0

पूर्ण डिस्क के बाद एक ही समस्या थी। नोड की अनुवाद निर्देशिका से बाहर की रिकवरी फ़ाइल को स्थानांतरित करना मेरे लिए काम करता था, लेकिन मैंने कोई डायटलॉस होने पर कोई विश्लेषण नहीं किया है। –

उत्तर

0

मुझे लॉग में "कोई संस्करण प्रकार मिलान" त्रुटि के साथ भी वही समस्या मिली।

(इसके अलावा, के बाद डिस्क भरा हुआ मिला)

बिगफुट के समाधान की कोशिश की मैन्युअल रूप से वसूली फ़ाइलों को हटाना है और यह काम किया।

शायद इसके कुछ नकारात्मक दुष्प्रभाव हो सकते हैं।

5

बिगफुट का समाधान केवल एक ऐसा काम है जो काम करता है।

स्टैक ट्रेस मनाया के समान प्रतीत हो रहा है जबकि: https://github.com/elastic/elasticsearch/issues/12055

इस पुल अनुरोध इस मुद्दे को ठीक करने के लिए माना जाता है: https://github.com/elastic/elasticsearch/pull/9797

लेकिन v1.5.0 के उन्नयन भी करता नहीं चाल है।

इस प्रकार केवल एक चीज है कि काम करता है:

find /var/lib/elasticsearch/elasticsearch/nodes/ -name "*.recovering" 

और सब ठीक हो फ़ाइलें हटाएँ। बेशक इसका दुष्प्रभाव है।