ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolai Tikhonov <ntikho...@apache.org>
Subject Re: Error using ignite cache with Zookeeper for Node Discovery
Date Tue, 04 Jul 2017 17:36:29 GMT
Hello,

Could you share more information about your setup? Which version OS and
java did you use?

On Tue, Jul 4, 2017 at 10:00 AM, Venkat Raman <vraman@gmail.com> wrote:

> Hi All,
>
> I am using Ignite cache on two node cluster with Zookeeper for node
> discovery. I see the following error while trying to update Cache entry
> using a key. I am using Ignite as an embedded cache inside an Tomcat based
> web server. Below error does not happen immediately after the tomcat/java
> process has startedm but starts happening after a while.
>
> I would really appreciate any pointers on how to debug this issue.
>
> class org.apache.ignite.IgniteException: Runtime failure on search row:
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$
> SearchRow@1c2ad2e8
>         at org.apache.ignite.internal.processors.cache.database.
> tree.BPlusTree.invoke(BPlusTree.java:1615)
>         at org.apache.ignite.internal.processors.cache.
> IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(
> IgniteCacheOffheapManagerImpl.java:925)
>         at org.apache.ignite.internal.processors.cache.
> IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.
> java:326)
>         at org.apache.ignite.internal.processors.cache.
> GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:1693)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2386)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(
> GridDhtAtomicCache.java:1792)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(
> GridDhtAtomicCache.java:1630)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridNearAtomicAbstractUpdateFuture.sendSingleRequest(
> GridNearAtomicAbstractUpdateFuture.java:299)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridNearAtomicSingleUpdateFuture.map(
> GridNearAtomicSingleUpdateFuture.java:480)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridNearAtomicSingleUpdateFuture.mapOnTopology(
> GridNearAtomicSingleUpdateFuture.java:440)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridNearAtomicAbstractUpdateFuture.map(
> GridNearAtomicAbstractUpdateFuture.java:248)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridDhtAtomicCache.update0(GridDhtAtomicCache.java:1162)
>         at org.apache.ignite.internal.processors.cache.distributed.
> dht.atomic.GridDhtAtomicCache.put0(GridDhtAtomicCache.java:651)
>         at org.apache.ignite.internal.processors.cache.
> GridCacheAdapter.put(GridCacheAdapter.java:2345)
>         at org.apache.ignite.internal.processors.cache.
> GridCacheAdapter.put(GridCacheAdapter.java:2322)
>         at org.apache.ignite.internal.processors.cache.
> IgniteCacheProxy.put(IgniteCacheProxy.java:1519)
>
>
> *Caused by: java.lang.IllegalMonitorStateException: Attempted to release
> write lock while not holding it [lock=00007f399844d470,
> state=0001033800000883*
>         at org.apache.ignite.internal.util.OffheapReadWriteLock.
> writeUnlock(OffheapReadWriteLock.java:259)
>         at org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl.
> writeUnlock(PageMemoryNoStoreImpl.java:495)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.util.PageHandler.writeUnlock(PageHandler.java:379)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.util.PageHandler.writePage(PageHandler.java:288)
>         at org.apache.ignite.internal.processors.cache.database.
> DataStructure.write(DataStructure.java:241)
>         at org.apache.ignite.internal.processors.cache.database.
> freelist.FreeListImpl.updateDataRow(FreeListImpl.java:506)
>         at org.apache.ignite.internal.processors.cache.database.
> RowStore.updateRow(RowStore.java:82)
>         at org.apache.ignite.internal.processors.cache.
> IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.createRow(
> IgniteCacheOffheapManagerImpl.java:970)
>         at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$
> AtomicCacheUpdateClosure.update(GridCacheMapEntry.java:4428)
>         at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$
> AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:4226)
>         at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$
> AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:3966)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.BPlusTree$Invoke.invokeClosure(BPlusTree.java:2966)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.BPlusTree$Invoke.access$6200(BPlusTree.java:2860)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.BPlusTree.invokeDown(BPlusTree.java:1702)
>         at org.apache.ignite.internal.processors.cache.database.
> tree.BPlusTree.invoke(BPlusTree.java:1585)
>         ... 64 more
>
> Regards,
> Venkat
>

Mime
View raw message