[jira] [Commented] (IGNITE-11815) Get rid of GridTestUtils.retryAssert method.
[ https://issues.apache.org/jira/browse/IGNITE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16928281#comment-16928281 ] Diana Iakovleva commented on IGNITE-11815: -- [~amashenkov] I've updated PR, can you please take a look? > Get rid of GridTestUtils.retryAssert method. > > > Key: IGNITE-11815 > URL: https://issues.apache.org/jira/browse/IGNITE-11815 > Project: Ignite > Issue Type: Test >Reporter: Andrew Mashenkov >Assignee: Diana Iakovleva >Priority: Major > Labels: MakeTeamcityGreenAgain, newbie > Time Spent: 1.5h > Remaining Estimate: 0h > > For now we have GridTestUtils.retryAssert() method which runs a closure 'n' > times to check if some invariantes become ok, eventually. > This method catch assertion error (this looks like a very bad idea) and can > print them to log many times even if assertion is acceptable for the moment. > Also, it is possible to miss an assertion is not related to those ones that > closure checks (e.g. assertion error thrown from ignite internals). > Let's replace retryAssert with GridTestUtils.waitForCondition() usage to make > logs clearer and to avoid possible false positive results. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Assigned] (IGNITE-11686) MVCC: Create separate test for vacuum checks.
[ https://issues.apache.org/jira/browse/IGNITE-11686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva reassigned IGNITE-11686: Assignee: Diana Iakovleva > MVCC: Create separate test for vacuum checks. > - > > Key: IGNITE-11686 > URL: https://issues.apache.org/jira/browse/IGNITE-11686 > Project: Ignite > Issue Type: Test > Components: mvcc >Reporter: Andrew Mashenkov >Assignee: Diana Iakovleva >Priority: Major > Labels: MakeTeamcityGreenAgain, newbie > > Most of tests (inherited from CacheMvccAbstractTest) run vacuum synchronously > on afterTest() method and check if vacuum is ok. This hits performance, can > cause false negative results and > vacuum issues can be hidden if afterTest method will overriden at once. > For now we have CacheMvccVacuumTest that just check vacuum workers state, but > there is no check if vacuum really cleans all old versions correctly. I'd > expect to find it in this class. > So, let's mode vacuum verification from afterTest method into > CacheMvccVacuumTest as a new separate test. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Assigned] (IGNITE-11829) Distribute joins fail if number of tables > 7
[ https://issues.apache.org/jira/browse/IGNITE-11829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva reassigned IGNITE-11829: Assignee: Diana Iakovleva > Distribute joins fail if number of tables > 7 > - > > Key: IGNITE-11829 > URL: https://issues.apache.org/jira/browse/IGNITE-11829 > Project: Ignite > Issue Type: Improvement > Components: sql >Affects Versions: 2.7 >Reporter: Stanislav Lukyanov >Assignee: Diana Iakovleva >Priority: Major > Labels: newbie > > Distributed joins fail with ArrayIndexOutOfBounds when the total number of > tables is > 7. > Example: > {code} > try (Ignite ignite = > Ignition.start("examples/config/example-ignite.xml");) { > IgniteCache cache = ignite.createCache("foo"); > cache.query(new SqlFieldsQuery("CREATE TABLE Person(ID INTEGER > PRIMARY KEY, NAME VARCHAR(100));")); > cache.query(new SqlFieldsQuery("INSERT INTO Person(ID, NAME) > VALUES (1, 'Ed'), (2, 'Ann'), (3, 'Emma');")); > cache.query(new SqlFieldsQuery("SELECT *\n" + > "FROM PERSON P1\n" + > "JOIN PERSON P2 ON P1.ID = P2.ID\n" + > "JOIN PERSON P3 ON P1.ID = P3.ID\n" + > "JOIN PERSON P4 ON P1.ID = P4.ID\n" + > "JOIN PERSON P5 ON P1.ID = P5.ID\n" + > "JOIN PERSON P6 ON P1.ID = P6.ID\n" + > "JOIN PERSON P7 ON P1.ID = P7.ID\n" + > "JOIN PERSON P8 ON P1.ID = > P8.ID").setDistributedJoins(true).setEnforceJoinOrder(false)); > } > {code} > throws > {code} > Exception in thread "main" javax.cache.CacheException: General error: > "java.lang.ArrayIndexOutOfBoundsException" [5-197] > at > org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:832) > at > org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:765) > at > org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.query(GatewayProtectedCacheProxy.java:403) > at > org.apache.ignite.examples.ExampleNodeStartup.main(ExampleNodeStartup.java:60) > Caused by: class > org.apache.ignite.internal.processors.query.IgniteSQLException: General > error: "java.lang.ArrayIndexOutOfBoundsException" [5-197] > at > org.apache.ignite.internal.processors.query.h2.QueryParser.parseH2(QueryParser.java:454) > at > org.apache.ignite.internal.processors.query.h2.QueryParser.parse0(QueryParser.java:156) > at > org.apache.ignite.internal.processors.query.h2.QueryParser.parse(QueryParser.java:121) > at > org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1191) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor$3.applyx(GridQueryProcessor.java:2261) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor$3.applyx(GridQueryProcessor.java:2257) > at > org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:53) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2767) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.lambda$querySqlFields$1(GridQueryProcessor.java:2277) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuerySafe(GridQueryProcessor.java:2297) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2250) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2177) > at > org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.query(IgniteCacheProxyImpl.java:817) > ... 3 more > Caused by: org.h2.jdbc.JdbcSQLException: General error: > "java.lang.ArrayIndexOutOfBoundsException" [5-197] > at org.h2.message.DbException.getJdbcSQLException(DbException.java:357) > at org.h2.message.DbException.get(DbException.java:168) > at org.h2.message.DbException.convert(DbException.java:307) > at org.h2.message.DbException.toSQLException(DbException.java:280) > at org.h2.message.TraceObject.logAndConvert(TraceObject.java:357) > at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:308) > at > org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.prepare(GridSqlQuerySplitter.java:1770) > at > org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split0(GridSqlQuerySplitter.java:299) > at >
[jira] [Assigned] (IGNITE-11815) Get rid of GridTestUtils.retryAssert method.
[ https://issues.apache.org/jira/browse/IGNITE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva reassigned IGNITE-11815: Assignee: Diana Iakovleva > Get rid of GridTestUtils.retryAssert method. > > > Key: IGNITE-11815 > URL: https://issues.apache.org/jira/browse/IGNITE-11815 > Project: Ignite > Issue Type: Test >Reporter: Andrew Mashenkov >Assignee: Diana Iakovleva >Priority: Major > Labels: MakeTeamcityGreenAgain, newbie > > For now we have GridTestUtils.retryAssert() method which runs a closure 'n' > times to check if some invariantes become ok, eventually. > This method catch assertion error (this looks like a very bad idea) and can > print them to log many times even if assertion is acceptable for the moment. > Also, it is possible to miss an assertion is not related to those ones that > closure checks (e.g. assertion error thrown from ignite internals). > Let's replace retryAssert with GridTestUtils.waitForCondition() usage to make > logs clearer and to avoid possible false positive results. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Assigned] (IGNITE-10223) Affinity methods should return List instead of Collection
[ https://issues.apache.org/jira/browse/IGNITE-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva reassigned IGNITE-10223: Assignee: Diana Iakovleva (was: Suraj Singh) > Affinity methods should return List instead of Collection > - > > Key: IGNITE-10223 > URL: https://issues.apache.org/jira/browse/IGNITE-10223 > Project: Ignite > Issue Type: Bug >Reporter: Stanislav Lukyanov >Assignee: Diana Iakovleva >Priority: Minor > Labels: newbie > > Methods of class Affinity should return List instead of Collection when order > of nodes matters. > The following methods are supposed to always return a collection with primary > node preceding backups: > Affinity::mapPartitionToPrimaryAndBackups > Affinity::mapKeyToPrimaryAndBackups > The return type for both methods is Collection. The Javadocs > say: "Note that primary node is always first in the returned collection". > In general, the notion of "order" and "first element" is not defined for a > Collection (we could play with iterators, but its awkward from both code and > logic perspective). It makes more sense for this methods to return List > instead. > The task is to introduce List equivalents of these methods. It would also be > nice to check if other APIs have similar issues. > The tricky part is compatibility. > Changing return type from Collection to List is source compatible (meaning > the old client code will compile with the new method), but not binary > compatible (meaning the already compiled client code will break because the > signature has changed). > A compatible solution would be to > - deprecate the existing methods > - add methods with different names, like mapPartitionToPrimaryAndBackups*List* -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921212#comment-16921212 ] Diana Iakovleva commented on IGNITE-1666: - [~agura] can you please confirm that provided test corresponds to your description? If yes, it would be fine to merge it > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003,
[jira] [Commented] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920887#comment-16920887 ] Diana Iakovleva commented on IGNITE-1666: - [~zstan] seems so. Thanks for a feedback! :) > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null], nodeId=203d0a36-8587-4a32-aa51-3332d126d002] >
[jira] [Commented] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920824#comment-16920824 ] Diana Iakovleva commented on IGNITE-1666: - [~zstan] My understanding is that your key point is related to steps order: get cursor - stop one node - iterate through the *previously obtained* cursor if it is correct please take a look at updated PR. > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false,
[jira] [Commented] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920760#comment-16920760 ] Diana Iakovleva commented on IGNITE-1666: - [~zstan] ofc it's not, can you please clarify what is wrong? > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null],
[jira] [Resolved] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva resolved IGNITE-1666. - Resolution: Cannot Reproduce > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null], nodeId=203d0a36-8587-4a32-aa51-3332d126d002] > at >
[jira] [Commented] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920746#comment-16920746 ] Diana Iakovleva commented on IGNITE-1666: - Issue was retested with new test ([https://github.com/apache/ignite/pull/6823]), also original PR with test (https://github.com/apache/ignite/pull/149) was applied and it passed > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null,
[jira] [Assigned] (IGNITE-1666) Fallback for full scan query does not work
[ https://issues.apache.org/jira/browse/IGNITE-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diana Iakovleva reassigned IGNITE-1666: --- Assignee: Diana Iakovleva (was: Semen Boikov) > Fallback for full scan query does not work > -- > > Key: IGNITE-1666 > URL: https://issues.apache.org/jira/browse/IGNITE-1666 > Project: Ignite > Issue Type: Bug > Components: cache >Affects Versions: ignite-1.4 >Reporter: Andrey Gura >Assignee: Diana Iakovleva >Priority: Major > > Fallback for full scan query doesn't work. > Steps to reproduce (all in one thread): > 1. Start N nodes, create cache and populate some entries to cache. > 2. Stop some node. > 3. Get iterator on the cache and fetch all entries one by one. > 4. Repeat from step 2. > On some iteration scan query fails with exception: > {noformat} > javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: > Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1614) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.init(CacheWeakQueryIteratorsHolder.java:228) > at > org.apache.ignite.internal.processors.cache.CacheWeakQueryIteratorsHolder$WeakQueryFutureIterator.onHasNext(CacheWeakQueryIteratorsHolder.java:180) > at > org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) > at > org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.doTest(CacheIteratorWhileRemovalSelfTest.java:135) > at > org.apache.ignite.internal.processors.cache.distributed.CacheIteratorWhileRemovalSelfTest.testFullScanIterator(CacheIteratorWhileRemovalSelfTest.java:91) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1658) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:112) > at > org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1596) > Caused by: class org.apache.ignite.IgniteCheckedException: Query execution > failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SCAN, > clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null] > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.checkError(GridCacheQueryFutureAdapter.java:267) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.internalIterator(GridCacheQueryFutureAdapter.java:276) > at > org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) > ... 14 more > Caused by: class org.apache.ignite.IgniteCheckedException: Failed to execute > query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter > [type=SCAN, clsName=null, clause=null, filter=null, part=null, incMeta=false, > metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, > avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, > keepAll=false, incBackups=false, dedup=false, prj=null, keepPortable=false, > subjId=3026635f-2a79-4a59-83cb-9db427f45003, taskHash=0], rdc=null, > trans=null], nodeId=203d0a36-8587-4a32-aa51-3332d126d002] > at >