Exception during ignite restart

classic Classic list List threaded Threaded
4 messages Options
krkumar24061975@gmail.com krkumar24061975@gmail.com
Reply | Threaded
Open this post in threaded view
|

Exception during ignite restart

Hi Guys - I randomly bump into this error. Can you guys tell when and why I
get into this error ( I mean what circumstances). all i am doing is a
controlled shutdown. Thats all nothing else.

Also How do i recover the data from such error as most of the times, I end
up loosing the data

class org.apache.ignite.IgniteException: Failed to start IgniteSpringBean
        at
org.apache.ignite.IgniteSpringBean.afterSingletonsInstantiated(IgniteSpringBean.java:175)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:781)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
        at
com.pointillist.gridmanager.server.MihiGridServer.start(MihiGridServer.java:97)
        at com.pointillist.gridmanager.Runner.main(Runner.java:62)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to read
WAL record at position: 46936799 size: 67108864
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.handleRecordException(AbstractWalRecordsIterator.java:294)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.handleRecordException(FileWriteAheadLogManager.java:3155)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advanceRecord(AbstractWalRecordsIterator.java:258)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:154)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.onNext(AbstractWalRecordsIterator.java:123)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.onNext(AbstractWalRecordsIterator.java:52)
        at
org.apache.ignite.internal.util.GridCloseableIteratorAdapter.nextX(GridCloseableIteratorAdapter.java:41)


Thanx and Regards,
KR Kumar




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Exception during ignite restart

Hello!

I think you are losing parts of WAL file so Ignite can't rewind WAL on startup.

What walMode are you using?

Regards,
--
Ilya Kasnacheev


сб, 28 дек. 2019 г. в 21:13, [hidden email] <[hidden email]>:
Hi Guys - I randomly bump into this error. Can you guys tell when and why I
get into this error ( I mean what circumstances). all i am doing is a
controlled shutdown. Thats all nothing else.

Also How do i recover the data from such error as most of the times, I end
up loosing the data

class org.apache.ignite.IgniteException: Failed to start IgniteSpringBean
        at
org.apache.ignite.IgniteSpringBean.afterSingletonsInstantiated(IgniteSpringBean.java:175)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:781)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
        at
com.pointillist.gridmanager.server.MihiGridServer.start(MihiGridServer.java:97)
        at com.pointillist.gridmanager.Runner.main(Runner.java:62)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to read
WAL record at position: 46936799 size: 67108864
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.handleRecordException(AbstractWalRecordsIterator.java:294)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.handleRecordException(FileWriteAheadLogManager.java:3155)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advanceRecord(AbstractWalRecordsIterator.java:258)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:154)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.onNext(AbstractWalRecordsIterator.java:123)
        at
org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.onNext(AbstractWalRecordsIterator.java:52)
        at
org.apache.ignite.internal.util.GridCloseableIteratorAdapter.nextX(GridCloseableIteratorAdapter.java:41)


Thanx and Regards,
KR Kumar




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
krkumar24061975@gmail.com krkumar24061975@gmail.com
Reply | Threaded
Open this post in threaded view
|

Re: Exception during ignite restart

Hi - We are using "BACKGROUND" as the walmode. Is that a problem?

Thanx and Regards,
KR Kumar



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Exception during ignite restart

Hello!

Yes, this may become a problem if you ever stop your node by terminating JVM. Make sure to close() Ignite properly before terminating JVM.

Regards,
--
Ilya Kasnacheev


пт, 3 янв. 2020 г. в 05:52, [hidden email] <[hidden email]>:
Hi - We are using "BACKGROUND" as the walmode. Is that a problem?

Thanx and Regards,
KR Kumar



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/