Marvel agent issue with elasticsearch 1.4.5

Today we upgraded the cluster to recent Elasticsearch 1.4 branch, after
upgrade we are seeing this message in the master logs.

[2015-04-28 14:40:47,942][ERROR][marvel.agent ] [els-master]
Exporter [es_exporter] has thrown an exception:
java.lang.NullPointerException
at
org.elasticsearch.index.cache.query.QueryCacheStats.add(QueryCacheStats.java:52)
at
org.elasticsearch.action.admin.indices.stats.CommonStats.add(CommonStats.java:389)
at
org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse.getTotal(IndicesStatsResponse.java:117)
at
org.elasticsearch.marvel.agent.exporter.ESExporter.exportIndicesStats(ESExporter.java:198)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportIndicesStats(AgentService.java:301)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:260)
at java.lang.Thread.run(Thread.java:745)

I tried to install the latest version of marvel, but still the same
issue. I wonder if someone else is facing it or we have something
special going on in our setup.

  • Gurvinder

--
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/553F81AC.9030201%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

I would open an issue in Elasticsearch repo.

David

Le 28 avr. 2015 à 14:48, Gurvinder Singh gurvindersinghdahiya@gmail.com a écrit :

Today we upgraded the cluster to recent Elasticsearch 1.4 branch, after
upgrade we are seeing this message in the master logs.

[2015-04-28 14:40:47,942][ERROR][marvel.agent ] [els-master]
Exporter [es_exporter] has thrown an exception:
java.lang.NullPointerException
at
org.elasticsearch.index.cache.query.QueryCacheStats.add(QueryCacheStats.java:52)
at
org.elasticsearch.action.admin.indices.stats.CommonStats.add(CommonStats.java:389)
at
org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse.getTotal(IndicesStatsResponse.java:117)
at
org.elasticsearch.marvel.agent.exporter.ESExporter.exportIndicesStats(ESExporter.java:198)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportIndicesStats(AgentService.java:301)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:260)
at java.lang.Thread.run(Thread.java:745)

I tried to install the latest version of marvel, but still the same
issue. I wonder if someone else is facing it or we have something
special going on in our setup.

  • Gurvinder

--
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/553F81AC.9030201%40gmail.com.
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/FCBCB58A-30DB-40BE-B4D3-928F8C801897%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

It truns out the problem was caused by mix of nodes during our rolling
upgrade. So when cluster with nodes from 1.3.6 & 1.4.5 will face the
problem I mentioned below. Once all nodes are upgraded to 1.4.5, marvel
issue went away. Useful to know while upgrade :slight_smile:

  • Gurvinder
    On 04/28/2015 02:48 PM, Gurvinder Singh wrote:

Today we upgraded the cluster to recent Elasticsearch 1.4 branch, after
upgrade we are seeing this message in the master logs.

[2015-04-28 14:40:47,942][ERROR][marvel.agent ] [els-master]
Exporter [es_exporter] has thrown an exception:
java.lang.NullPointerException
at
org.elasticsearch.index.cache.query.QueryCacheStats.add(QueryCacheStats.java:52)
at
org.elasticsearch.action.admin.indices.stats.CommonStats.add(CommonStats.java:389)
at
org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse.getTotal(IndicesStatsResponse.java:117)
at
org.elasticsearch.marvel.agent.exporter.ESExporter.exportIndicesStats(ESExporter.java:198)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportIndicesStats(AgentService.java:301)
at
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:260)
at java.lang.Thread.run(Thread.java:745)

I tried to install the latest version of marvel, but still the same
issue. I wonder if someone else is facing it or we have something
special going on in our setup.

  • Gurvinder

--
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/553F89FB.9040500%40gmail.com.
For more options, visit https://groups.google.com/d/optout.