[jira] [Created] (IGNITE-4874) SQL engine should throw meaningful exception on query from local cache

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4874) SQL engine should throw meaningful exception on query from local cache

Anton Vinogradov (Jira)
Vasiliy Sisko created IGNITE-4874:
-------------------------------------

             Summary: SQL engine should throw meaningful exception on query from local cache
                 Key: IGNITE-4874
                 URL: https://issues.apache.org/jira/browse/IGNITE-4874
             Project: Ignite
          Issue Type: Task
          Components: SQL
    Affects Versions: 2.0
            Reporter: Vasiliy Sisko
            Priority: Minor


To reproduce:
Configure local cache
Configure partitioned cache
Extract data from local cache by sending query to partitioned cache.

Got error on iteration of received result Cursor:
{code}
java.lang.AssertionError: GridCacheAdapter [locMxBean=org.apache.ignite.internal.processors.cache.CacheLocalMetricsMXBeanImpl@492168ef, clusterMxBean=org.apache.ignite.internal.processors.cache.CacheClusterMetricsMXBeanImpl@70abe2fc, aff=org.apache.ignite.internal.processors.cache.affinity.GridCacheAffinityImpl@510d8baf, igfsDataCache=false, mongoDataCache=false, mongoMetaCache=false, igfsDataCacheSize=null, igfsDataSpaceMax=0, asyncOpsSem=java.util.concurrent.Semaphore@7938449a[Permits = 500], name=c_local, size=77]
        at org.apache.ignite.internal.processors.cache.GridCacheContext.topology(GridCacheContext.java:828)
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.hasMovingPartitions(GridReduceQueryExecutor.java:391)
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.isPreloadingActive(GridReduceQueryExecutor.java:378)
        at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:517)
        at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$5.iterator(IgniteH2Indexing.java:1149)
        at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:98)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)