ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Fischer (CW)" <rfis...@Brocade.com>
Subject Cassandra Persistence Store without POJO on Server
Date Thu, 24 Aug 2017 22:19:35 GMT

is it possible to use the Cassandra Persistence Store (libs/optional/ignite-cassandra-store)
without the need to deploy the key and object POJOs on the server?

For basic data grid use, it seems that everything defaults to binary objects. put(), get()
SQL queries, native persistence and affinity all work without having to deploy the POJO on
the servers. The POJO are referenced in the XML configuration, but a JAR with the POJO is
_not_ required on the server. Only the client uses the POJO.

However, when using the Cassandra persistence store, the server reports a startup error when
the POJO are not present.
Caused by: class org.apache.ignite.IgniteException: Failed to load class 'com.abc.poc.icpoc.model.Fabric'
using reflection
        at org.apache.ignite.cache.store.cassandra.persistence.PersistenceSettings.getClassInstance(PersistenceSettings.java:504)
        at org.apache.ignite.cache.store.cassandra.persistence.PersistenceSettings.<init>(PersistenceSettings.java:128)

I would prefer not to have to redeploy the POJO to the servers when there are data (object)


View raw message