Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.13, 2.14, 2.15
Description
In https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Cache2/6801420?logFilter=debug logs, the following can be seen:
[18:33:02] : [Step 4/5] [2022-09-30T17:33:02,902][INFO ][Thread-404][jvm-668836b4] [17:33:02,896][SEVERE][data-streamer-stripe-3-#12%supplier%|#12%supplier%][] Failed to set initial value for cache entry: DataStreamerEntry [key=KeyCacheObjectImpl [part=363, val=363, hasValBytes=true], val=CacheObjectByteArrayImpl [arrLen=204800]] [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,902][INFO ][Thread-404][jvm-668836b4] class org.apache.ignite.internal.processors.cache.persistence.freelist.CorruptedFreeListException: Failed to insert data row [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,903][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.insertDataRow(AbstractFreeList.java:595) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,903][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.CacheFreeList.insertDataRow(CacheFreeList.java:74) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,904][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.CacheFreeList.insertDataRow(CacheFreeList.java:35) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,904][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.RowStore.addRow(RowStore.java:111) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,904][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.createRow(IgniteCacheOffheapManagerImpl.java:1748) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,905][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$UpdateClosure.call(GridCacheMapEntry.java:5513) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,905][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$UpdateClosure.call(GridCacheMapEntry.java:5450) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,906][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.invokeClosure(BPlusTree.java:4307) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,906][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.access$5700(BPlusTree.java:4201) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,906][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invokeDown(BPlusTree.java:2279) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,907][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:2169) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,907][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke0(IgniteCacheOffheapManagerImpl.java:1698) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,908][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(IgniteCacheOffheapManagerImpl.java:1681) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,908][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:425) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,909][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.storeValue(GridCacheMapEntry.java:3980) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,909][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.initialValue(GridCacheMapEntry.java:3092) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,909][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheEntryEx.initialValue(GridCacheEntryEx.java:756) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,910][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheEntryEx.initialValue(GridCacheEntryEx.java:719) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,910][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$IsolatedUpdater.receive(DataStreamerImpl.java:2313) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,910][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.call(DataStreamerUpdateJob.java:144) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,911][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.localUpdate(DataStreamProcessor.java:400) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,911][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.processRequest(DataStreamProcessor.java:305) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,911][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.access$000(DataStreamProcessor.java:60) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,912][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor$1.onMessage(DataStreamProcessor.java:90) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,912][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1907) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,912][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1528) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,913][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.managers.communication.GridIoManager.access$5300(GridIoManager.java:243) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,913][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.managers.communication.GridIoManager$9.execute(GridIoManager.java:1421) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,913][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.managers.communication.TraceRunnable.run(TraceRunnable.java:55) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,914][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.StripedExecutor$Stripe.body(StripedExecutor.java:637) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,914][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,914][INFO ][Thread-404][jvm-668836b4] at java.lang.Thread.run(Thread.java:750) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,915][INFO ][Thread-404][jvm-668836b4] Caused by: java.lang.RuntimeException: JavaNioAccess#newDirectByteBuffer() method is unavailable. [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,915][INFO ][Thread-404][jvm-668836b4] Please add the following parameters to JVM startup settings and restart the application: {parameters: --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,915][INFO ][Thread-404][jvm-668836b4] --add-exports=java.base/sun.nio.ch=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,916][INFO ][Thread-404][jvm-668836b4] --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,916][INFO ][Thread-404][jvm-668836b4] --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,916][INFO ][Thread-404][jvm-668836b4] --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,917][INFO ][tcp-comm-worker-#16815%client%-#125646%client%][TcpCommunicationSpi] TCP client created [client=null, node addrs=[/127.0.0.1:46341], duration=542ms] [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,917][INFO ][Thread-404][jvm-668836b4] --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,918][INFO ][Thread-404][jvm-668836b4] --illegal-access=permit [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,918][INFO ][Thread-404][jvm-668836b4] } [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,918][INFO ][Thread-404][jvm-668836b4] See [https://apacheignite.readme.io/docs/getting-started#section-running-ignite-with-java-9-10-11] for more information. [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,919][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.GridUnsafe.wrapPointerJavaNio(GridUnsafe.java:260) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,919][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.GridUnsafe.wrapPointer(GridUnsafe.java:207) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,919][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl.pageBuffer(PageMemoryNoStoreImpl.java:306) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,920][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.addRowFragment(AbstractDataPageIO.java:1176) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,920][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.addRowFragment(AbstractDataPageIO.java:1103) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,920][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.addRowFragment(AbstractFreeList.java:274) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,921][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.addRow(AbstractFreeList.java:203) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,921][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.run(AbstractFreeList.java:169) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,922][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.run(AbstractFreeList.java:156) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,922][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.writePage(PageHandler.java:313) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,922][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.DataStructure.write(DataStructure.java:371) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,922][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.writeSinglePage(AbstractFreeList.java:698) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,923][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.insertDataRow(AbstractFreeList.java:587) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,923][INFO ][Thread-404][jvm-668836b4] ... 31 more [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,923][INFO ][Thread-404][jvm-668836b4] Caused by: java.lang.reflect.InvocationTargetException [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,923][INFO ][Thread-404][jvm-668836b4] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,924][INFO ][Thread-404][jvm-668836b4] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,924][INFO ][Thread-404][jvm-668836b4] at java.lang.reflect.Method.invoke(Method.java:498) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,924][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.GridUnsafe.wrapPointerJavaNio(GridUnsafe.java:251) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,924][INFO ][Thread-404][jvm-668836b4] ... 43 more [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,925][INFO ][Thread-404][jvm-668836b4] Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,925][INFO ][Thread-404][jvm-668836b4] at java.nio.Bits$1.newDirectByteBuffer(Bits.java:759) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,925][INFO ][Thread-404][jvm-668836b4] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,925][INFO ][Thread-404][jvm-668836b4] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,925][INFO ][Thread-404][jvm-668836b4] at java.lang.reflect.Method.invoke(Method.java:498) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,926][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.GridUnsafe.wrapPointerJavaNio(GridUnsafe.java:251) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,926][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.util.GridUnsafe.wrapPointer(GridUnsafe.java:207) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,926][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl.pageBuffer(PageMemoryNoStoreImpl.java:306) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,926][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.addRowFragment(AbstractDataPageIO.java:1176) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,927][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.addRowFragment(AbstractDataPageIO.java:1103) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,927][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.addRowFragment(AbstractFreeList.java:274) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,928][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.addRow(AbstractFreeList.java:203) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,928][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.run(AbstractFreeList.java:169) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,928][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$WriteRowHandler.run(AbstractFreeList.java:156) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,929][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.writePage(PageHandler.java:313) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,929][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.DataStructure.write(DataStructure.java:371) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,929][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.writeSinglePage(AbstractFreeList.java:698) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,929][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.insertDataRow(AbstractFreeList.java:587) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,930][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.CacheFreeList.insertDataRow(CacheFreeList.java:74) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,930][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.freelist.CacheFreeList.insertDataRow(CacheFreeList.java:35) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,930][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.RowStore.addRow(RowStore.java:111) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,930][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.createRow(IgniteCacheOffheapManagerImpl.java:1748) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,930][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$UpdateClosure.call(GridCacheMapEntry.java:5513) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$UpdateClosure.call(GridCacheMapEntry.java:5450) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.invokeClosure(BPlusTree.java:4307) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.access$5700(BPlusTree.java:4201) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invokeDown(BPlusTree.java:2279) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:2169) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke0(IgniteCacheOffheapManagerImpl.java:1698) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,931][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(IgniteCacheOffheapManagerImpl.java:1681) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,932][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:425) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,932][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.storeValue(GridCacheMapEntry.java:3980) [18:33:02] : [Step 4/5] [2022-09-30T17:33:02,932][INFO ][Thread-404][jvm-668836b4] at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.initialValue(GridCacheMapEntry.java:3092)
Looks like Java of a version higher than 8 (probably, 19) is launched for a remote JVM, and in that Java version our code does not work properly.
Another problem arises on Java 17 and 18: 'java.nio.DirectByteBuffer.address field is unavailable.'
Attachments
Issue Links
- links to