ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-2982) Failed to update keys on primary node (UnsupportedOperationException).
Date Fri, 13 May 2016 07:21:12 GMT

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

Semen Boikov closed IGNITE-2982.
--------------------------------
    Assignee:     (was: Semen Boikov)

>  Failed to update keys on primary node (UnsupportedOperationException).
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-2982
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2982
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.5.0.final
>            Reporter: Vladislav Pyatkov
>         Attachments: Main3.java
>
>
> Batch of operation (putAll, removeAll, invokeAll) are failing when rebuild index.
> {noformat}
> java.lang.UnsupportedOperationException
> 	at org.apache.ignite.internal.binary.BinaryObjectOffheapImpl.cacheObjectType(BinaryObjectOffheapImpl.java:341)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2ValueCacheObject.getBytesNoCopy(GridH2ValueCacheObject.java:109)
> 	at org.h2.store.Data.getValueLen(Data.java:1001)
> 	at org.h2.store.Data.getValueLen(Data.java:878)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2KeyValueRowOffheap.onUnswap(GridH2KeyValueRowOffheap.java:256)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.doUpdate(GridH2Table.java:425)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.update(GridH2Table.java:340)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.remove(IgniteH2Indexing.java:587)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor.remove(GridQueryProcessor.java:1014)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.remove(GridCacheQueryManager.java:432)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.clearIndex(GridCacheMapEntry.java:3828)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:2429)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2151)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1543)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1418)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.mapSingle(GridNearAtomicUpdateFuture.java:457)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.access$1400(GridNearAtomicUpdateFuture.java:72)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture$UpdateState.map(GridNearAtomicUpdateFuture.java:931)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.mapOnTopology(GridNearAtomicUpdateFuture.java:417)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateFuture.map(GridNearAtomicUpdateFuture.java:283)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$21.apply(GridDhtAtomicCache.java:951)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$21.apply(GridDhtAtomicCache.java:949)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.asyncOp(GridDhtAtomicCache.java:691)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsync0(GridDhtAtomicCache.java:949)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invokeAllAsync(GridDhtAtomicCache.java:802)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invokeAll(GridDhtAtomicCache.java:730)
> 	at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.invokeAll(IgniteCacheProxy.java:1605)
> 	at org.apache.ignite.internal.processors.cache.AtomicBinaryOffheapBatchTest.testBatchOperations(AtomicBinaryOffheapBatchTest.java:139)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1759)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:118)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1697)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Cache contains more the one indexed types.
> All configuration of cache:
> {code}
> <bean class="org.apache.ignite.configuration.CacheConfiguration">
>    <property name="name" value="query-offheap" />
>    <property name="cacheMode" value="PARTITIONED" />
>    <property name="atomicityMode" value="ATOMIC" />
>    <property name="swapEnabled" value="false" />
>    <property name="memoryMode" value="OFFHEAP_TIERED" />
>    <property name="indexedTypes">
>       <list>
>          <value>java.lang.Integer</value>
>          <value>org.apache.ignite.yardstick.cache.model.Organization</value>
>          <value>java.lang.Integer</value>
>          <value>org.apache.ignite.yardstick.cache.model.Person</value>
>       </list>
>    </property>
> </bean>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message