I've got a brand-new Marvel installation, and am having some frustrating 
issues with it: on the overview screen, I am constantly getting errors like:
*Oops!* FacetPhaseExecutionException[Facet [timestamp]: failed to find 
mapping for node.ip_port.raw]

*Production cluster:*
* ElasticSearch 1.1.1
* Marvel 1.2.1
* Running in vSphere

*Monitoring cluster:*
* ElasticSearch 1.3.4
* Marvel 1.2.1
* Running in AWS

After installing the plugin and bouncing all nodes in both clusters, Marvel 
seems to be working -- an index has been created in the monitoring cluster (
.marvel-2014.10.26), and I see thousands of documents in there.  There are 
documents with the following types: cluster_state, cluster_stats, 
index_stats, indices_stats, node_stats.  So, it does seem that data is 
being shipped from the prod cluster to the monitoring cluster.

I've seen in the user group that other people have had similar issues. 
 Some of those mention problems with the marvel index template.  I don't 
seem to have any at all templates in my monitoring cluster:

$ curl -XGET localhost:9200/_template/
{}

I tried manually adding the default template (as described in 
http://www.elasticsearch.org/guide/en/marvel/current/#config-marvel-indices), 
but that didn't seem to have any effect.

So far, I've seen just two specific errors in Marvel:
* FacetPhaseExecutionException[Facet [timestamp]: failed to find mapping 
for node.ip_port.raw]
* FacetPhaseExecutionException[Facet [timestamp]: failed to find mapping 
for index.raw]

I've also looked through the logs on both the production and monitoring 
clusters, and the only errors are in the monitoring cluster resulting from 
queries from the Marvel UI, like this:

[2014-10-27 11:08:13,427][DEBUG][action.search.type       ] [ip-10-4-1-187] 
[.marvel-2014.10.27][1], node[SR_hriFmTCav-8ofbKU-8g], [R], s[STARTED]: 
Failed to execute [org.elasticsearch.action.search.SearchRequest@661dc47e]
org.elasticsearch.search.SearchParseException: [.marvel-2014.10.27][1]: 
query[ConstantScore(BooleanFilter(+*:* +cache(_type:index_stats) +cache(
@timestamp:[1414367880000 TO 1414368540000])))],from[-1],size[10]: Parse 
Failure [Failed to parse source [{"size":10,"query":{"filtered":{"query":{
"match_all":{}},"filter":{"bool":{"must":[{"match_all":{}},{"term":{"_type":
"index_stats"}},{"range":{"@timestamp":{"from":"now-10m/m","to":"now/m"
}}}]}}}},"facets":{"timestamp":{"terms_stats":{"key_field":"index.raw",
"value_field":"@timestamp","order":"term","size":2000}},
"primaries.docs.count":{"terms_stats":{"key_field":"index.raw","value_field"
:"primaries.docs.count","order":"term","size":2000}},
"primaries.indexing.index_total":{"terms_stats":{"key_field":"index.raw",
"value_field":"primaries.indexing.index_total","order":"term","size":2000}},
"total.search.query_total":{"terms_stats":{"key_field":"index.raw",
"value_field":"total.search.query_total","order":"term","size":2000}},
"total.merges.total_size_in_bytes":{"terms_stats":{"key_field":"index.raw",
"value_field":"total.merges.total_size_in_bytes","order":"term","size":2000
}},"total.fielddata.memory_size_in_bytes":{"terms_stats":{"key_field":
"index.raw","value_field":"total.fielddata.memory_size_in_bytes","order":
"term","size":2000}}}}]]
        at org.elasticsearch.search.SearchService.parseSource(SearchService.
java:660)
        at org.elasticsearch.search.SearchService.createContext(
SearchService.java:516)
        at org.elasticsearch.search.SearchService.createAndPutContext(
SearchService.java:488)
        at org.elasticsearch.search.SearchService.executeQueryPhase(
SearchService.java:257)
        at org.elasticsearch.search.action.SearchServiceTransportAction$5.
call(SearchServiceTransportAction.java:206)
        at org.elasticsearch.search.action.SearchServiceTransportAction$5.
call(SearchServiceTransportAction.java:203)
        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.facet.FacetPhaseExecutionException: 
Facet [timestamp]: failed to find mapping for index.raw
        at org.elasticsearch.search.facet.termsstats.TermsStatsFacetParser.
parse(TermsStatsFacetParser.java:126)
        at org.elasticsearch.search.facet.FacetParseElement.parse(
FacetParseElement.java:93)
        at org.elasticsearch.search.SearchService.parseSource(SearchService.
java:644)
        ... 9 more
[2014-10-27 11:08:13,427][DEBUG][action.search.type       ] [ip-10-4-1-187] 
All shards failed for phase: [query]

Both clusters use the same timezone and their clocks are synchronized via 
NTP.

Does anyone have any suggestions on what to do next?  I've reinstalled the 
plugin across both clusters without any changes.

Thanks much,
Ross

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d1a5065e-8ede-4665-871b-979b6c683917%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to