[jira] [Commented] (IGNITE-1577) IlligateStateException when removing index during stop
[ https://issues.apache.org/jira/browse/IGNITE-1577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941010#comment-14941010 ] Vasilisa Sidorova commented on IGNITE-1577: I've try to reproduce this issue 10 times with different values of heap per node (3,5 GB - default from Idea; 1 GB, 2 GB, 3 GB, 4 GB), 3/10 times it was value of heap = 2 GB and only once this issue was reproducible. May be it's depends from a moment of stream or query? > IlligateStateException when removing index during stop > -- > > Key: IGNITE-1577 > URL: https://issues.apache.org/jira/browse/IGNITE-1577 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Dmitriy Setrakyan >Assignee: Sergi Vladykin >Priority: Critical > Fix For: ignite-1.5 > > > I ran string example which queries the streamed words onto 2 data nodes (2GB > each, started with ExampleNodeStartup class), and while running, killed 1 > node. I also had 1 StreamWords and 1 QueryWords process. > Got this error on the stopping node. > {code} > java.lang.IllegalStateException: Failed to remove from index (grid is > stopping). > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.remove(GridQueryProcessor.java:837) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.remove(GridCacheQueryManager.java:433) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.clearIndex(GridCacheMapEntry.java:3553) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.onTtlExpired(GridCacheMapEntry.java:3374) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager.expire(GridCacheTtlManager.java:117) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager$CleanupWorker.body(GridCacheTtlManager.java:136) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-1577) IlligateStateException when removing index during stop
[ https://issues.apache.org/jira/browse/IGNITE-1577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941077#comment-14941077 ] Sergi Vladykin commented on IGNITE-1577: As I see from the stack trace the error happens when TtlManager tries to evict expired cache entry, so it is definitely depends on moment in time but does not depend on Java heap size at all. AFAIK we have lots of places where we throw IllegalStateException when node stops. And as far as I understand it is just a cosmetic issue because after that everything works fine. Thus I think we need to strategically decide how to handle all these situations. > IlligateStateException when removing index during stop > -- > > Key: IGNITE-1577 > URL: https://issues.apache.org/jira/browse/IGNITE-1577 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Dmitriy Setrakyan >Assignee: Sergi Vladykin >Priority: Critical > Fix For: ignite-1.5 > > > I ran string example which queries the streamed words onto 2 data nodes (2GB > each, started with ExampleNodeStartup class), and while running, killed 1 > node. I also had 1 StreamWords and 1 QueryWords process. > Got this error on the stopping node. > {code} > java.lang.IllegalStateException: Failed to remove from index (grid is > stopping). > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.remove(GridQueryProcessor.java:837) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.remove(GridCacheQueryManager.java:433) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.clearIndex(GridCacheMapEntry.java:3553) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.onTtlExpired(GridCacheMapEntry.java:3374) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager.expire(GridCacheTtlManager.java:117) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager$CleanupWorker.body(GridCacheTtlManager.java:136) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-1577) IlligateStateException when removing index during stop
[ https://issues.apache.org/jira/browse/IGNITE-1577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15763817#comment-15763817 ] Vladimir Ozerov commented on IGNITE-1577: - Decreasing priority to {{Major}}. Definitely not critical. > IlligateStateException when removing index during stop > -- > > Key: IGNITE-1577 > URL: https://issues.apache.org/jira/browse/IGNITE-1577 > Project: Ignite > Issue Type: Bug > Components: SQL >Reporter: Dmitriy Setrakyan >Assignee: Sergi Vladykin > Fix For: 2.0 > > > I ran string example which queries the streamed words onto 2 data nodes (2GB > each, started with ExampleNodeStartup class), and while running, killed 1 > node. I also had 1 StreamWords and 1 QueryWords process. > Got this error on the stopping node. > {code} > java.lang.IllegalStateException: Failed to remove from index (grid is > stopping). > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.remove(GridQueryProcessor.java:837) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.remove(GridCacheQueryManager.java:433) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.clearIndex(GridCacheMapEntry.java:3553) > at > org.apache.ignite.internal.processors.cache.GridCacheMapEntry.onTtlExpired(GridCacheMapEntry.java:3374) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager.expire(GridCacheTtlManager.java:117) > at > org.apache.ignite.internal.processors.cache.GridCacheTtlManager$CleanupWorker.body(GridCacheTtlManager.java:136) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)