The above error appears to be an issue in org.apache.ignite.internal.processors.cache.CacheMetricsSnapshot in a mismatch between the readExternal() and writeExternal() methods.
I've made a change locally and it fixed the error and also the testing so far seems to show that the queries return the correct results (so it's likely that the cause may have been https://issues.apache.org/jira/browse/IGNITE-8900) If you would like me to contribute the fix back to the ignite codebase please let me know and i'll be happy to do it -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/