You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dave Marion (JIRA)" <ji...@apache.org> on 2017/05/22 19:16:04 UTC
[jira] [Commented] (IGNITE-2073) GridLocalAtomicCache cannot be
cast to GridDhtCacheAdapter
[ https://issues.apache.org/jira/browse/IGNITE-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020033#comment-16020033 ]
Dave Marion commented on IGNITE-2073:
-------------------------------------
Getting this error in v2.0.0
{noformat}
java.lang.ClassCastException: org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache cannot be cast to org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter
at org.apache.ignite.internal.processors.cache.GridCacheContext.dht(GridCacheContext.java:637)
at org.apache.ignite.internal.processors.cache.GridCacheAdapter.localEntries(GridCacheAdapter.java:728)
at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.localEntries(IgniteCacheProxy.java:925)
{noformat}
> GridLocalAtomicCache cannot be cast to GridDhtCacheAdapter
> ----------------------------------------------------------
>
> Key: IGNITE-2073
> URL: https://issues.apache.org/jira/browse/IGNITE-2073
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 1.5.0.final
> Reporter: Pavel Konstantinov
>
> I have such cache configuration
> {code}
> <bean id="c_local" class="org.apache.ignite.configuration.CacheConfiguration">
> <property name="cacheMode" value="LOCAL"/>
> <property name="statisticsEnabled" value="true"/>
> <property name="name" value="c_local"/>
> <property name="indexedTypes">
> <list>
> <value>java.util.UUID</value>
> <value>org.my.tester.sql.Car</value>
> </list>
> </property>
> </bean>
> {code}
> When I'm doing SQL "select * from Car" via REST I'm got:
> {code}
> Error: org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache cannot be cast to org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)