ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5741) Replace HeapByteBuffer to DirectByteBuffer in WAL RecordsIterator
Date Thu, 20 Jul 2017 15:43:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094849#comment-16094849
] 

ASF GitHub Bot commented on IGNITE-5741:
----------------------------------------

GitHub user ilantukh opened a pull request:

    https://github.com/apache/ignite/pull/2329

    IGNITE-5741

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-5741

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2329.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2329
    
----
commit 70d0f9918c708cb117e69163cc7b7c119c9a693c
Author: Dmitriy Shabalin <dshabalin@gridgain.com>
Date:   2017-07-20T08:08:20Z

    IGNITE-4728 Web Console: Saved last succeeded state and redirect to it on reload.

commit 02a1bdca57ce6af7fe7636b0a9f99048c89b88b6
Author: Andrey Novikov <anovikov@gridgain.com>
Date:   2017-07-20T08:47:49Z

    IGNITE-5788 Web Console: Fixed dependencies for maven project with c3p0.

commit 9479a6ec42fb861a16cc1d46d7b650df3a1bd572
Author: Ilya Lantukh <ilantukh@gridgain.com>
Date:   2017-07-20T15:41:52Z

    ignite-5741 : Replaced HeapByteBuffer with DirectByteBuffer in WAL reader.

----


> Replace HeapByteBuffer to DirectByteBuffer in WAL RecordsIterator
> -----------------------------------------------------------------
>
>                 Key: IGNITE-5741
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5741
>             Project: Ignite
>          Issue Type: Task
>          Components: persistence
>    Affects Versions: 2.1
>            Reporter: Dmitriy Govorukhin
>            Assignee: Ilya Lantukh
>            Priority: Critical
>             Fix For: 2.2
>
>
> In current implementation we can get OOM during iterate on wal records, because some
wal record may be very large (more that 64Mb). We read using  HeapByteBuffer, FileChannel
reserve buffer same size as our HeapByteBuffer, but by default FileChannel can not allocate
buffer more that 64Mb. (maxMemory = VM.maxDirectMemory()) 
> java-7-oracle
> {code}
> [16:07:54]W:		 [org.apache.ignite:ignite-core] [2017-07-12 13:07:54,809][ERROR][exchange-worker-#55966%node0-primary%][GridDhtPartitionsExchangeFuture]
Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId
[topVer=AffinityTopologyVersion [topVer=3, minorTopVer=1], nodeId=105056d5, evt=DISCOVERY_CUSTOM_EVT]
> [16:07:54]W:		 [org.apache.ignite:ignite-core] java.lang.OutOfMemoryError: Direct buffer
memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> [16:07:54]W:		 [org.apache.ignite:ignite-core] [2017-07-12 13:07:54,809][ERROR][exchange-worker-#56019%node1-primary%][GridDhtPartitionsExchangeFuture]
Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId
[topVer=AffinityTopologyVersion [topVer=3, minorTopVer=1], nodeId=105056d5, evt=DISCOVERY_CUSTOM_EVT]
> [16:07:54]W:		 [org.apache.ignite:ignite-core] java.lang.OutOfMemoryError: Direct buffer
memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> [16:07:54]W:		 [org.apache.ignite:ignite-core] [2017-07-12 13:07:54,820][ERROR][exchange-worker-#55966%node0-primary%][GridCachePartitionExchangeManager]
Runtime error caught during grid runnable execution: GridWorker [name=partition-exchanger,
igniteInstanceName=node0-primary, finished=false, hashCode=511968716, interrupted=false, runner=exchange-worker-#55966%node0-primary%]
> [16:07:54]W:		 [org.apache.ignite:ignite-core] java.lang.OutOfMemoryError: Direct buffer
memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> [16:07:54]W:		 [org.apache.ignite:ignite-core] Exception in thread "exchange-worker-#55966%node0-primary%"
[2017-07-12 13:07:54,820][ERROR][exchange-worker-#56019%node1-primary%][GridCachePartitionExchangeManager]
Runtime error caught during grid runnable execution: GridWorker [name=partition-exchanger,
igniteInstanceName=node1-primary, finished=false, hashCode=1303431226, interrupted=false,
runner=exchange-worker-#56019%node1-primary%]
> [16:07:54]W:		 [org.apache.ignite:ignite-core] java.lang.OutOfMemoryError: Direct buffer
memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> [16:07:54]W:		 [org.apache.ignite:ignite-core] Exception in thread "exchange-worker-#56019%node1-primary%"
java.lang.OutOfMemoryError: Direct buffer memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> [16:07:54]W:		 [org.apache.ignite:ignite-core] java.lang.OutOfMemoryError: Direct buffer
memory
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.Bits.reserveMemory(Bits.java:658)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.IOUtil.read(IOUtil.java:195)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIO.read(RandomAccessFileIO.java:62)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput.ensure(FileInput.java:116)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.ensure(FileInput.java:303)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readByte(FileInput.java:376)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.readUnsignedByte(FileInput.java:385)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:697)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:673)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.initReadHandle(AbstractWalRecordsIterator.java:243)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.advanceSegment(FileWriteAheadLogManager.java:2452)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.AbstractWalRecordsIterator.advance(AbstractWalRecordsIterator.java:149)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2352)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$RecordsIterator.<init>(FileWriteAheadLogManager.java:2290)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.replay(FileWriteAheadLogManager.java:553)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreMemory(GridCacheDatabaseSharedManager.java:1313)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointAndRestoreMemory(GridCacheDatabaseSharedManager.java:529)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:770)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:574)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1901)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	at java.lang.Thread.run(Thread.java:745)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 	Suppressed: class org.apache.ignite.internal.processors.cache.persistence.wal.crc.IgniteDataIntegrityViolationException:
val: -1 writtenCrc: 0
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.FileInput$Crc32CheckingFileInput.close(FileInput.java:320)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordV1Serializer.readRecord(RecordV1Serializer.java:680)
> [16:07:54]W:		 [org.apache.ignite:ignite-core] 		... 13 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message