[ 
https://issues.apache.org/jira/browse/IGNITE-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Ozerov updated IGNITE-4874:
------------------------------------
    Labels: usability  (was: )

> 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
>              Labels: usability
>
> 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.4.14#64029)

Reply via email to