Unable to downgrade data store to 2.6/2.5 from 2.7

classic Classic list List threaded Threaded
2 messages Options
Kamlesh.Joshi Kamlesh.Joshi
Reply | Threaded
Open this post in threaded view
|

Unable to downgrade data store to 2.6/2.5 from 2.7

Hi Igniters,

 

Am trying to downgrade from Ignite 2.7 to 2.6 to due to some requirement and its failing with below exception. The reason for raising this as a concern is, when I tried to downgrade data store of 2.6 to 2.5 it worked. So is this an expected behavior or is there a bug ?

 

Stack Trace:

                [2019-02-07T15:46:31,437][ERROR][exchange-worker-#42%EDIFCustomer%][GridCacheOffheapManager] Unhandled exception during page store initialization. All further operations will be failed and local node will be stopped.

java.lang.ArrayIndexOutOfBoundsException: 1

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:85) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:466) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:438) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:1337) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1191) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.updateCounter(GridCacheOffheapManager.java:1420) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:942) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:222) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2380) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) [ignite-core-2.6.0.jar:2.6.0]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

2019-02-07T15:46:31,437][ERROR][exchange-worker-#42%EDIFCustomer%][GridCacheOffheapManager] Unhandled exception during page store initialization. All further operations will be failed and local node will be stopped.

[2019-02-07T15:46:31,444][ERROR][exchange-worker-#42%EDIFCustomer%][] Critical system error detected. Will be handled accordingly to configured handler [hnd=class o.a.i.failure.StopNodeOrHaltFailureHandler, failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

java.lang.ArrayIndexOutOfBoundsException: 1

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:85) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:466) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:438) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:1337) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1191) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.updateCounter(GridCacheOffheapManager.java:1420) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:942) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:222) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2380) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) [ignite-core-2.6.0.jar:2.6.0]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

2019-02-07T15:46:31,444][ERROR][exchange-worker-#42%EDIFCustomer%][] Critical system error detected. Will be handled accordingly to configured handler [hnd=class o.a.i.failure.StopNodeOrHaltFailureHandler, failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

[2019-02-07T15:46:31,445][ERROR][exchange-worker-#42%EDIFCustomer%][] JVM will be halted immediately due to the failure: [failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

2019-02-07T15:46:31,445][ERROR][exchange-worker-#42%EDIFCustomer%][] JVM will be halted immediately due to the failure: [failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

 

Thanks!

Kamlesh Joshi

 


"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential and may be privileged. If you are not the intended recipient, you are hereby notified that any review, re-transmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."

Алексей Платонов Алексей Платонов
Reply | Threaded
Open this post in threaded view
|

Re: Unable to downgrade data store to 2.6/2.5 from 2.7

Hi,
As I know, there is no guaranteed forward compatibility between versions (e.g. from 2.7 to 2.5, or 2.6 to 2.5).

Best regards, 
Alexey Platonov.

чт, 7 февр. 2019 г., 13:25 [hidden email]:

Hi Igniters,

 

Am trying to downgrade from Ignite 2.7 to 2.6 to due to some requirement and its failing with below exception. The reason for raising this as a concern is, when I tried to downgrade data store of 2.6 to 2.5 it worked. So is this an expected behavior or is there a bug ?

 

Stack Trace:

                [2019-02-07T15:46:31,437][ERROR][exchange-worker-#42%EDIFCustomer%][GridCacheOffheapManager] Unhandled exception during page store initialization. All further operations will be failed and local node will be stopped.

java.lang.ArrayIndexOutOfBoundsException: 1

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:85) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:466) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:438) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:1337) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1191) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.updateCounter(GridCacheOffheapManager.java:1420) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:942) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:222) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2380) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) [ignite-core-2.6.0.jar:2.6.0]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

2019-02-07T15:46:31,437][ERROR][exchange-worker-#42%EDIFCustomer%][GridCacheOffheapManager] Unhandled exception during page store initialization. All further operations will be failed and local node will be stopped.

[2019-02-07T15:46:31,444][ERROR][exchange-worker-#42%EDIFCustomer%][] Critical system error detected. Will be handled accordingly to configured handler [hnd=class o.a.i.failure.StopNodeOrHaltFailureHandler, failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

java.lang.ArrayIndexOutOfBoundsException: 1

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.IOVersions.forVersion(IOVersions.java:85) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:466) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.getPageIO(PageIO.java:438) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.getOrAllocatePartitionMetas(GridCacheOffheapManager.java:1337) ~[ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1191) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.updateCounter(GridCacheOffheapManager.java:1420) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:942) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:222) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2380) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299) [ignite-core-2.6.0.jar:2.6.0]

        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) [ignite-core-2.6.0.jar:2.6.0]

        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

2019-02-07T15:46:31,444][ERROR][exchange-worker-#42%EDIFCustomer%][] Critical system error detected. Will be handled accordingly to configured handler [hnd=class o.a.i.failure.StopNodeOrHaltFailureHandler, failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

[2019-02-07T15:46:31,445][ERROR][exchange-worker-#42%EDIFCustomer%][] JVM will be halted immediately due to the failure: [failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

2019-02-07T15:46:31,445][ERROR][exchange-worker-#42%EDIFCustomer%][] JVM will be halted immediately due to the failure: [failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ArrayIndexOutOfBoundsException: 1]]

 

Thanks!

Kamlesh Joshi

 


"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential and may be privileged. If you are not the intended recipient, you are hereby notified that any review, re-transmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."