RE: Ignite can't activate
Hi, Reproduced that and filed https://issues.apache.org/jira/browse/IGNITE-10516. Thanks for reporting. Stan From: yangjiajun Sent: 29 ноября 2018 г. 10:52 To: user@ignite.apache.org Subject: Re: Ignite can't activate Hello. Here is a reproducer for my case: 1.Start a node with persistence enabled. 2.Create a table without cache group and create an index on it. 3.Create another table and assign a cache group to it.Use same name to create an index on this table. 4.Stop the node. 5.Restart the node and do activate.Then you will see the exception. yangjiajun wrote > Hello. > My ignite can't activate after restart.I only have one node which is ver > 2.6.The exception cause ignite can't activate is : > > [14:18:05,802][SEVERE][exchange-worker-#110][GridCachePartitionExchangeManager] > Failed to wait for completion of partition map exchange (preloading will > not > start): GridDhtPartitionsExchangeFuture > [firstDiscoEvt=DiscoveryCustomEvent > [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, > nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1543471364603]], crd=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], > exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion > [topVer=1, > minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null, > affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, > nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1543471364603]], nodeId=5cb09b16, evt=DISCOVERY_CUSTOM_EVT], > added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, > res=false, hash=1392437407], init=false, lastVer=GridCacheVersion > [topVer=0, > order=1543471361380, nodeOrder=0], partReleaseFut=PartitionReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > futures=[ExplicitLockReleaseFuture [topVer=AffinityTopologyVersion > [topVer=1, minorTopVer=1], futures=[]], AtomicUpdateReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], > DataStreamerReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], futures=[]], LocalTxReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], > AllTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], futures=[RemoteTxReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > futures=[]], > exchActions=null, affChangeMsg=null, initTs=1543471364624, > centralizedAff=false, forceAffReassignment=true, changeGlobalStateE=class > o.a.i.IgniteException: Duplicate index name > [cache=SQL_PUBLIC_TABLE_TEMP_TEST1_R_1_X, schemaName=PUBLIC, > idxName=TABLE_TEMP_99_R_1_X_ROMA3C_BSP_BATCH_ID, > existingTable=TABLE_TEMP_99_R_1_X, table=TABLE_TEMP_TEST1_R_1_X], > done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter > [ignoreInterrupts=false, state=DONE, res=class > o.a.i.IgniteCheckedException: > Cluster state change failed., hash=721409668]] > class org.apache.ignite.IgniteCheckedException: Cluster state change > failed. > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.finishExchangeOnCoordinator(GridDhtPartitionsExchangeFuture.java:2697) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onAllReceived(GridDhtPartitionsExchangeFuture.java:2467) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1149) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) > at > o
Re: Ignite can't activate
Hello. Here is a reproducer for my case: 1.Start a node with persistence enabled. 2.Create a table without cache group and create an index on it. 3.Create another table and assign a cache group to it.Use same name to create an index on this table. 4.Stop the node. 5.Restart the node and do activate.Then you will see the exception. yangjiajun wrote > Hello. > My ignite can't activate after restart.I only have one node which is ver > 2.6.The exception cause ignite can't activate is : > > [14:18:05,802][SEVERE][exchange-worker-#110][GridCachePartitionExchangeManager] > Failed to wait for completion of partition map exchange (preloading will > not > start): GridDhtPartitionsExchangeFuture > [firstDiscoEvt=DiscoveryCustomEvent > [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, > nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1543471364603]], crd=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], > exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion > [topVer=1, > minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null, > affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > super=DiscoveryEvent [evtNode=TcpDiscoveryNode > [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], > sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, > intOrder=1, lastExchangeTime=1543471362559, loc=true, > ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, > nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, > tstamp=1543471364603]], nodeId=5cb09b16, evt=DISCOVERY_CUSTOM_EVT], > added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, > res=false, hash=1392437407], init=false, lastVer=GridCacheVersion > [topVer=0, > order=1543471361380, nodeOrder=0], partReleaseFut=PartitionReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > futures=[ExplicitLockReleaseFuture [topVer=AffinityTopologyVersion > [topVer=1, minorTopVer=1], futures=[]], AtomicUpdateReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], > DataStreamerReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], futures=[]], LocalTxReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], > AllTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, > minorTopVer=1], futures=[RemoteTxReleaseFuture > [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], > futures=[]], > exchActions=null, affChangeMsg=null, initTs=1543471364624, > centralizedAff=false, forceAffReassignment=true, changeGlobalStateE=class > o.a.i.IgniteException: Duplicate index name > [cache=SQL_PUBLIC_TABLE_TEMP_TEST1_R_1_X, schemaName=PUBLIC, > idxName=TABLE_TEMP_99_R_1_X_ROMA3C_BSP_BATCH_ID, > existingTable=TABLE_TEMP_99_R_1_X, table=TABLE_TEMP_TEST1_R_1_X], > done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter > [ignoreInterrupts=false, state=DONE, res=class > o.a.i.IgniteCheckedException: > Cluster state change failed., hash=721409668]] > class org.apache.ignite.IgniteCheckedException: Cluster state change > failed. > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.finishExchangeOnCoordinator(GridDhtPartitionsExchangeFuture.java:2697) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onAllReceived(GridDhtPartitionsExchangeFuture.java:2467) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1149) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:1
Ignite can't activate
Hello. My ignite can't activate after restart.I only have one node which is ver 2.6.The exception cause ignite can't activate is : [14:18:05,802][SEVERE][exchange-worker-#110][GridCachePartitionExchangeManager] Failed to wait for completion of partition map exchange (preloading will not start): GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryCustomEvent [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, intOrder=1, lastExchangeTime=1543471362559, loc=true, ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1543471364603]], crd=TcpDiscoveryNode [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, intOrder=1, lastExchangeTime=1543471362559, loc=true, ver=2.6.0#20180710-sha1:669feacc, isClient=false], exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=5cb09b16-6b97-4e01-a0c5-0d035293ea2e, addrs=[10.0.209.119], sockAddrs=[dggphicprb01094/10.0.209.119:9001], discPort=9001, order=1, intOrder=1, lastExchangeTime=1543471362559, loc=true, ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1, nodeId8=5cb09b16, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1543471364603]], nodeId=5cb09b16, evt=DISCOVERY_CUSTOM_EVT], added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, res=false, hash=1392437407], init=false, lastVer=GridCacheVersion [topVer=0, order=1543471361380, nodeOrder=0], partReleaseFut=PartitionReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[ExplicitLockReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], AtomicUpdateReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], DataStreamerReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], LocalTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], AllTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[RemoteTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]], exchActions=null, affChangeMsg=null, initTs=1543471364624, centralizedAff=false, forceAffReassignment=true, changeGlobalStateE=class o.a.i.IgniteException: Duplicate index name [cache=SQL_PUBLIC_TABLE_TEMP_TEST1_R_1_X, schemaName=PUBLIC, idxName=TABLE_TEMP_99_R_1_X_ROMA3C_BSP_BATCH_ID, existingTable=TABLE_TEMP_99_R_1_X, table=TABLE_TEMP_TEST1_R_1_X], done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter [ignoreInterrupts=false, state=DONE, res=class o.a.i.IgniteCheckedException: Cluster state change failed., hash=721409668]] class org.apache.ignite.IgniteCheckedException: Cluster state change failed. at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.finishExchangeOnCoordinator(GridDhtPartitionsExchangeFuture.java:2697) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onAllReceived(GridDhtPartitionsExchangeFuture.java:2467) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1149) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.lang.Thread.run(Thread.java:748) I use "CREATE INDEX IF NOT EXISTS" statement to add indices.According to my understanding,ignite is not allowed to create two indices with same name.Is there a bug?Can I recover my ignite? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/