Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.8.1
-
None
-
None
-
Docs Required, Release Notes Required
Description
We have 2 node ignite cluster with 500 Gg memory and we connect with Cassandra (3.11.6 version) as 3rd party persistent. we usually get below exception in ignite logs when data is not available in ignite and try to fetch from cassandra.
can you suggest why below exception occurs frequently in ignite logs. and how to prevent it
com.datastax.driver.core.exceptions.InvalidQueryException
com.datastax.driver.core.exceptions.InvalidQueryException: Tried to execute unknown prepared query : 0x15991a339d9f853d83ede4dc7c48cd9b. You may have used a PreparedStatement that was created with another Cluster instance.
at com.datastax.driver.core.SessionManager.makeRequestMessage(SessionManager.java:571)
at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:131)
at org.apache.ignite.cache.store.cassandra.session.WrappedSession.executeAsync(WrappedSession.java:89)
at org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl.execute(CassandraSessionImpl.java:247)
at org.apache.ignite.cache.store.cassandra.CassandraCacheStore.loadAll(CassandraCacheStore.java:240)
at org.apache.ignite.internal.processors.cache.store.GridCacheWriteBehindStore.loadAll(GridCacheWriteBehindStore.java:475)
at org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.loadAllFromStore(GridCacheStoreManagerAdapter.java:478)
at org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.loadAll(GridCacheStoreManagerAdapter.java:400)
at org.apache.ignite.internal.processors.cache.GridCacheAdapter$18.call(GridCacheAdapter.java:2225)
at org.apache.ignite.internal.processors.cache.GridCacheAdapter$18.call(GridCacheAdapter.java:2223)
at org.apache.ignite.internal.processors.cache.GridCacheContext$3.call(GridCacheContext.java:1479)
at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7005)
at org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:967)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[13:47:19,578][INFO]sys-#12673[CassandraCacheStore] Sleeping for 376ms
[13:47:19,954][INFO]sys-#12673[CassandraCacheStore] Sleep completed
[13:47:19,954][WARNING]sys-#12673[CassandraCacheStore] Trying 2 attempt to execute Cassandra batch BULK_READ operation to process rest 1 of 16 elements
(END)