Thank you for the repo. It appears it can't instantiate a Spatial Index on
the remote cluster nodes when I run the client mode. Am I missing a
dependency? I get the following error on the remote node:
[21:54:17,671][SEVERE][exchange-worker-#63][GridDhtPartitionsExchangeFuture]
Failed to initialize cache(s) (will try to rollback).
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=430,
minorTopVer=1], discoEvt=DiscoveryCustomEvent
[customMsg=DynamicCacheChangeBatch
[id=05daeca8e61-18db0e45-c9df-4ff6-8287-3927de9c23fa,
reqs=[DynamicCacheChangeRequest [cacheName=SpatialQueryExample, hasCfg=true,
nodeId=b4cec277-0758-4464-ae42-e34bc98dfc5c, clientStartOnly=false,
stop=false, destroy=false, disabledAfterStartfalse]],
exchangeActions=ExchangeActions [startCaches=[SpatialQueryExample],
stopCaches=null, startGrps=[SpatialQueryExample], stopGrps=[],
resetParts=null, stateChangeRequest=null], startCaches=false],
affTopVer=AffinityTopologyVersion [topVer=430, minorTopVer=1],
super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=b4cec277-0758-4464-ae42-e34bc98dfc5c, addrs=[0:0:0:0:0:0:0:1%lo0,
127.0.0.1, 172.24.41.95], sockAddrs=[/127.0.0.1:0, 0:0:0:0:0:0:0:1%lo0:0,
/172.24.41.95:0], discPort=0, order=430, intOrder=219,
lastExchangeTime=1574286856574, loc=false, ver=2.7.6#20190911-sha1:21f7ca41,
isClient=true], topVer=430, nodeId8=05191ad0, msg=null,
type=DISCOVERY_CUSTOM_EVT, tstamp=1574286857650]], nodeId=b4cec277,
evt=DISCOVERY_CUSTOM_EVT]
class org.apache.ignite.IgniteException: Failed to instantiate:
org.apache.ignite.internal.processors.query.h2.opt.GridH2SpatialIndex
at
org.apache.ignite.internal.processors.query.h2.H2Utils.createSpatialIndex(H2Utils.java:187)
at
org.apache.ignite.internal.processors.query.h2.H2TableDescriptor.createUserIndex(H2TableDescriptor.java:307)
at
org.apache.ignite.internal.processors.query.h2.H2TableDescriptor.createUserIndexes(H2TableDescriptor.java:272)
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:2914)
at
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.registerType(IgniteH2Indexing.java:2815)
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1633)
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:805)
at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:866)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1337)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:2172)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:898)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:798)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1234)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:741)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2681)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2553)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
at
jdk.internal.reflect.GeneratedConstructorAccessor49.newInstance(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at
org.apache.ignite.internal.processors.query.h2.H2Utils.createSpatialIndex(H2Utils.java:184)
... 17 more
Caused by: org.h2.message.DbException: Feature not supported: "spatial index
on non-geometry column, COORDS OTHER" [50100-197]
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at
org.h2.message.DbException.getUnsupportedException(DbException.java:228)
at
org.apache.ignite.internal.processors.query.h2.opt.GridH2SpatialIndex.<init>(GridH2SpatialIndex.java:121)
... 21 more
Caused by: org.h2.jdbc.JdbcSQLException: Feature not supported: "spatial
index on non-geometry column, COORDS OTHER" [50100-197]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:357)
... 25 more
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/