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.
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.
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
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.