问题描述
我正在使用ignite 2.8.0,并且与cassandra的集成工作正常。在升级到ignite 2.8.1时,ignite启动失败,并显示以下消息:Failed to validate cache configuration. Cache store factory is not serializable.
底层异常为Null Pointer Exception。
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start processor: GridProcessorAdapter []
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to validate cache configuration. Cache store factory is not serializable. Cache name
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@764c12b6
Caused by: java.lang.NullPointerException
at java.util.Collections$UnmodifiableCollection.<init>
at org.apache.ignite.cache.store.cassandra.persistence.PersistenceSettings.readobject(PersistenceSettings.java:533)
解决方法
我可以看到有Cassandra-related ticket带来了一个新代码,很可能是导致此问题的原因。