I am on Marvel 1.2.1 and had the same error (see below). The time on one of
my nodes was off a fair bit. Fixed that and the problem went away.
[2014-09-17 11:55:14,615][DEBUG][action.search.type ] [Pip the Troll]
All shards failed for phase: [query_fetch]
[2014-09-17 12:16:00,532][DEBUG][action.search.type ] [Pip the Troll]
[.marvel-2014.09.17][0], node[2d8iMl4tRHSS8JFPJMN01A], [P], s[STARTED]:
Failed to execute [org.elasticsearch.action.search.SearchRequest@769694e9]
org.elasticsearch.search.SearchParseException: [.marvel-2014.09.17][0]:
from[-1],size[1]: Parse Failure [Failed to parse source
[{"size":1,"sort":{"@timestamp":{"order":"desc"}}}]]
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:664)
at
org.elasticsearch.search.SearchService.createContext(SearchService.java:515)
at
org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:487)
at
org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:328)
at
org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:308)
at
org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:305)
at
org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:517)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.search.SearchParseException:
[.marvel-2014.09.17][0]: from[-1],size[1]: Parse Failure [No mapping found
for [@timestamp] in order to sort on]
at
org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:198)
at
org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:172)
at
org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:90)
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:648)
... 9 more
On Monday, June 9, 2014 12:39:45 PM UTC-4, [email protected] wrote:
>
> Looks like this has already been found and resolved. I'll upgrade to
> Marvel 1.2.1.
>
> http://www.elasticsearch.org/blog/marvel-1-2-1-released/
>
>
>
>
> On Monday, June 9, 2014 9:35:30 AM UTC-7, [email protected] wrote:
>>
>> Hi Boaz,
>>
>> The only other exception I see in the logs is this:
>>
>> [2014-06-09 15:38:11,340][ERROR][marvel.agent ] [xxxx]
>> exporter [es_exporter] has thrown an exception:
>> java.lang.IllegalStateException: array not available
>> at
>> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)
>> at
>> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)
>> at
>> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)
>> at
>> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)
>> at
>> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)
>> at
>> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>>
>> On Saturday, June 7, 2014 11:50:16 AM UTC-7, Boaz Leskes wrote:
>>>
>>> Hi,
>>>
>>> Is there anything in the log indicating data shipping problems from the
>>> agent? Check the log of the current master node.
>>>
>>> Cheers,
>>> Boaz
>>>
>>> On Saturday, June 7, 2014 12:51:44 AM UTC+2, [email protected] wrote:
>>>>
>>>> I'm running elasticsearch 1.2.1, and just upgraded to Marvel 1.2.
>>>>
>>>> When I go to the new "Shard Allocation" dashboard in Marvel, I see the
>>>> following error:
>>>>
>>>> SearchPhaseExecutionException[Failed to execute phase [query_fetch],
>>>> all shards failed; shardFailures
>>>> {[5FNjdIADRE2rRuOkDZdieA][.marvel-2014.06.04][0]:
>>>> RemoteTransportException[[xxxx][inet[/x.x.x.x:9300]][search/phase/query+fetch]];
>>>>
>>>> nested: SearchParseException[[.marvel-2014.06.04][0]: from[0],size[300]:
>>>> Parse Failure [Failed to parse source
>>>> [{"size":300,"from":0,"fields":["@timestamp","message","status"],"sort":{"@timestamp":{"order":"desc"}},"query":{"filtered":{"filter":{"range":{"@timestamp":{"from":"2014-05-30T22:33:17.689Z","to":"2014-06-06T22:33:17.689Z"}}}}}}]]];
>>>>
>>>> nested: SearchParseException[[.marvel-2014.06.04][0]: from[0],size[300]:
>>>> Parse Failure [No mapping found for [@timestamp] in order to sort on]]; }]
>>>>
>>>>
>>>>
>>>> I see the following in my elasticsearch.log
>>>>
>>>>
>>>> [2014-06-06 22:48:07,919][DEBUG][action.search.type ] [xxxx] All
>>>> shards failed for phase: [query_fetch]
>>>> [2014-06-06 22:48:17,937][DEBUG][action.search.type ] [xxxx]
>>>> [.marvel-2014.06.06][0], node[5FNjdIADRE2rRuOkDZdieA], [R], s[STARTED]:
>>>> Failed to execute [org.elasticsearch.action.search.SearchRequest@6af079e8]
>>>> org.elasticsearch.search.SearchParseException: [.marvel-2014.06.06][0]:
>>>> from[-1],size[1]: Parse Failure [Failed to parse source
>>>> [{"size":1,"sort":{"@timestamp":{"order":"desc"}}}]]
>>>> at
>>>> org.elasticsearch.search.SearchService.parseSource(SearchService.java:649)
>>>> at
>>>> org.elasticsearch.search.SearchService.createContext(SearchService.java:511)
>>>> at
>>>> org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:483)
>>>> at
>>>> org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:324)
>>>> at
>>>> org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:308)
>>>> at
>>>> org.elasticsearch.search.action.SearchServiceTransportAction$11.call(SearchServiceTransportAction.java:305)
>>>> at
>>>> org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:517)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> Caused by: org.elasticsearch.search.SearchParseException:
>>>> [.marvel-2014.06.06][0]: from[-1],size[1]: Parse Failure [No mapping found
>>>> for [@timestamp] in order to sort on]
>>>> at
>>>> org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:198)
>>>> at
>>>> org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:172)
>>>> at
>>>> org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:90)
>>>> at
>>>> org.elasticsearch.search.SearchService.parseSource(SearchService.java:633)
>>>> ... 9 more
>>>>
>>>>
>>>> I have confirmed that marvel is upgraded on every node in the cluster.
>>>>
>>>> I tried deleting the .marvel* indexes. Didn't help
>>>> Shutdown the cluster, and restarted it. Didn't help.
>>>>
>>>> Anybody have ideas?
>>>>
>>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/33caa09e-3db5-4efc-94e5-b258c0ecca96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.