ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chevy <chetan.v.ya...@target.com>
Subject Re: [EXTERNAL] Re: Exception while trying to access cache via JDBC API
Date Wed, 02 Nov 2016 12:57:42 GMT
There is a issue with downgrading h2 jar. I am working with spring-boot and I
had tried this earlier. It throws below exception -

[17:32:43] Ignite node stopped OK
[name=ignite-jdbc-driver-297d7d9b-ee4c-47b8-abcf-fe4812374296,
uptime=00:00:00:233]
java.sql.SQLException: Failed to query Ignite.
	at
org.apache.ignite.internal.jdbc2.JdbcStatement.executeQuery(JdbcStatement.java:115)
	at com.target.ignite.util.IgniteJdbcApi.main(IgniteJdbcApi.java:47)
Caused by: javax.cache.CacheException: Failed to run map query remotely.
	at
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:624)
	at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$3.iterator(IgniteH2Indexing.java:1012)
	at
org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:61)
	at
org.apache.ignite.internal.jdbc2.JdbcQueryTask.call(JdbcQueryTask.java:172)
	at
org.apache.ignite.internal.jdbc2.JdbcStatement.executeQuery(JdbcStatement.java:102)
	... 1 more
Caused by: javax.cache.CacheException: Failed to execute map query on the
node: 94e3eb85-7c1a-4026-bc88-35d7bc875e50, class
java.lang.AbstractMethodError:org.apache.ignite.internal.processors.query.h2.opt.GridH2Table$ScanIndex.getCost(Lorg/h2/engine/Session;[I[Lorg/h2/table/TableFilter;ILorg/h2/result/SortOrder;Ljava/util/HashSet;)D
	at
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:277)
	at
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:267)
	at
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:248)
	at
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onMessage(GridReduceQueryExecutor.java:196)
	at
org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:2071)
	at
org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1238)
	at
org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:866)
	at
org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:106)
	at
org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:829)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Exception-while-trying-to-access-cache-via-JDBC-API-tp8648p8666.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message