Negative longs unsupported, use writeLong or writeZLong for negative numbers

Hi everyone!

I am getting a "failed to execute on node". In elasticsearch log file its showing below error....

[2018-12-27T14:33:00,348][DEBUG][o.e.a.a.i.s.TransportIndicesStatsAction] [node-1] failed to execute [indices:monitor/stats] on node [fR8UBU-WRwezh4havsv3Mw]
 org.elasticsearch.transport.RemoteTransportException: [node-1][112.***.***.***:9300][indices:monitor/stats[n]]
 Caused by: java.lang.IllegalStateException: Negative longs unsupported, use writeLong or writeZLong for negative numbers [-5944977821858]
 at org.elasticsearch.common.io.stream.StreamOutput.writeVLong(StreamOutput.java:219) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.index.search.stats.SearchStats$Stats.writeTo(SearchStats.java:211) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.index.search.stats.SearchStats.writeTo(SearchStats.java:353) ~[elasticsearch-5.4.1.jar:5.4.1]
 at rg.elasticsearch.common.io.stream.StreamOutput.writeOptionalStreamable(StreamOutput.java:723) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.action.admin.indices.stats.CommonStats.writeTo(CommonStats.java:255) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.action.admin.indices.stats.ShardStats.writeTo(ShardStats.java:102) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.common.io.stream.StreamOutput.writeOptionalStreamable(StreamOutput.java:723) ~[elasticsearch-5.4.1.jar:5.4.1]
 at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction$NodeResponse.writeTo(TransportBroadcastByNodeAction.java:574) ~[elasticsearch-5.4.1.jar:5.4.1]

Server load is heavy When ElasticSearch is running.
Help me.

Thanks,

I think this is fixed by #27068 in 5.6.4.

Thank you! David Turner!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.