You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by DocDVZ <do...@gmail.com> on 2018/06/09 12:10:58 UTC
Ignite 2.5 uncatched BufferUnderflowException while reading WAL on
startup
Hello.
We have a test ignite 2.5 installation with 1 server and 1 client. Server
starts from systemctl service with parameters:
Ignite configuration:
Client consistently loading data with IgniteDataStreamer. After those
actions:
1. start server
2. start client
3. 3-4 times restart client without proper application shutdown
4. stop client
5. stoped service with systemctl stop
After that serever node refused to start with
java.nio.BufferUnderflowException:
After few investigations in source code I came to conclusion that some of
checkpoint files in db/node-XXX/cp were corrupted. Because if
BufferUnderflowException is a RuntimeException and doesnt extends
IOException, it is not being catched in readPointer method and not being
wrapped into IgniteCheckedException. After removing whole cp directory node
started without exception. Is it proper solution? Will node startup
correctly and it's data become in proper state in that case if it would be a
several servers cluster? I tried to google for "Ignite
BufferUnderflowException" or "Failed to read checkpoint pointer from marker
file" - exception message thrown on IOException when reading cp file, but
didn't find any mentioning of that error except source code.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by Pavel Kovalenko <jo...@gmail.com>.
David,
No this problem exists in older versions also.
пт, 15 июн. 2018 г. в 17:54, David Harvey <dh...@jobcase.com>:
> Is https://issues.apache.org/jira/browse/IGNITE-8780 a regression in 2.5 ?
>
> On Thu, Jun 14, 2018 at 7:03 AM, Pavel Kovalenko <jo...@gmail.com>
> wrote:
>
>> DocDVZ,
>>
>> Most probably you faced with the following issue
>> https://issues.apache.org/jira/browse/IGNITE-8780.
>> You can try to remove END file marker, in this case node will be
>> recovered using WAL.
>>
>> чт, 14 июн. 2018 г. в 12:00, DocDVZ <do...@gmail.com>:
>>
>>> As i see, last checkpoint-end file, that invoked the problem, was
>>> created,
>>> but not filled with data:
>>>
>>>
>>> /opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/db/node00-203cc00d-0935-450d-acc9-d59cc3d2163d/cp$
>>> ls -lah
>>> total 208K
>>> drwxr-xr-x 2 penguin penguin 4.0K Jun 9 12:52 .
>>> drwxr-xr-x 3 penguin root 4.0K Jun 9 14:27 ..
>>> <...>
>>> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:49
>>> 1528537756580-node-started.bin
>>> -rw-r--r-- 1 penguin penguin 0 Jun 9 12:52
>>> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-END.bin
>>> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:52
>>> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-START.bin
>>>
>>> what state does ignite checkpointing have in that moment? Is it save for
>>> node persistent data to remove that empty file?
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>>
>>
>
>
> *Disclaimer*
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and may
> be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by *Mimecast Ltd*, an innovator in Software as a
> Service (SaaS) for business. Providing a *safer* and *more useful* place
> for your human generated data. Specializing in; Security, archiving and
> compliance. To find out more Click Here
> <http://www.mimecast.com/products/>.
>
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by David Harvey <dh...@jobcase.com>.
Is https://issues.apache.org/jira/browse/IGNITE-8780 a regression in 2.5 ?
On Thu, Jun 14, 2018 at 7:03 AM, Pavel Kovalenko <jo...@gmail.com> wrote:
> DocDVZ,
>
> Most probably you faced with the following issue https://issues.apache.
> org/jira/browse/IGNITE-8780.
> You can try to remove END file marker, in this case node will be recovered
> using WAL.
>
> чт, 14 июн. 2018 г. в 12:00, DocDVZ <do...@gmail.com>:
>
>> As i see, last checkpoint-end file, that invoked the problem, was created,
>> but not filled with data:
>>
>> /opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/
>> db/node00-203cc00d-0935-450d-acc9-d59cc3d2163d/cp$
>> ls -lah
>> total 208K
>> drwxr-xr-x 2 penguin penguin 4.0K Jun 9 12:52 .
>> drwxr-xr-x 3 penguin root 4.0K Jun 9 14:27 ..
>> <...>
>> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:49
>> 1528537756580-node-started.bin
>> -rw-r--r-- 1 penguin penguin 0 Jun 9 12:52
>> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-END.bin
>> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:52
>> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-START.bin
>>
>> what state does ignite checkpointing have in that moment? Is it save for
>> node persistent data to remove that empty file?
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by Pavel Kovalenko <jo...@gmail.com>.
DocDVZ,
Most probably you faced with the following issue
https://issues.apache.org/jira/browse/IGNITE-8780.
You can try to remove END file marker, in this case node will be recovered
using WAL.
чт, 14 июн. 2018 г. в 12:00, DocDVZ <do...@gmail.com>:
> As i see, last checkpoint-end file, that invoked the problem, was created,
> but not filled with data:
>
>
> /opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/db/node00-203cc00d-0935-450d-acc9-d59cc3d2163d/cp$
> ls -lah
> total 208K
> drwxr-xr-x 2 penguin penguin 4.0K Jun 9 12:52 .
> drwxr-xr-x 3 penguin root 4.0K Jun 9 14:27 ..
> <...>
> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:49
> 1528537756580-node-started.bin
> -rw-r--r-- 1 penguin penguin 0 Jun 9 12:52
> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-END.bin
> -rw-r--r-- 1 penguin penguin 16 Jun 9 12:52
> 1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-START.bin
>
> what state does ignite checkpointing have in that moment? Is it save for
> node persistent data to remove that empty file?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by DocDVZ <do...@gmail.com>.
As i see, last checkpoint-end file, that invoked the problem, was created,
but not filled with data:
/opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/db/node00-203cc00d-0935-450d-acc9-d59cc3d2163d/cp$
ls -lah
total 208K
drwxr-xr-x 2 penguin penguin 4.0K Jun 9 12:52 .
drwxr-xr-x 3 penguin root 4.0K Jun 9 14:27 ..
<...>
-rw-r--r-- 1 penguin penguin 16 Jun 9 12:49
1528537756580-node-started.bin
-rw-r--r-- 1 penguin penguin 0 Jun 9 12:52
1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-END.bin
-rw-r--r-- 1 penguin penguin 16 Jun 9 12:52
1528537928225-a5e78b9c-26c8-4dc1-b554-2ee35f119f0a-START.bin
what state does ignite checkpointing have in that moment? Is it save for
node persistent data to remove that empty file?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by DocDVZ <do...@gmail.com>.
I apologize for the long response,
Storage located on regular hdd, as you can see in configuration, there's no
any specific storage location configured. Also, I think it necessary to note
that test server contains all the environment: kafka, ignite, clickhouse,
application. All of them are doing intensive write on disk.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by Pavel Kovalenko <jo...@gmail.com>.
Hello DocDVZ,
What is your hardware environment? Do you use external / network storage
device?
2018-06-09 15:14 GMT+03:00 DocDVZ <do...@gmail.com>:
> Raw text blocks were discarded from message:
> Service parameters:
> ignite.sh -J-Xmx6g -J-Xms6g -J-XX:+AlwaysPreTouch -J-XX:+UseG1GC
> -J-XX:+ScavengeBeforeFullGC -J-XX:+DisableExplicitGC
> ${IGNITE_HOME}/config/test-ignite-config.xml
>
> Configurations:
> <bean class="org.apache.ignite.configuration.IgniteConfiguration">
>
> <property name="peerClassLoadingEnabled" value="false"/>
>
>
> <property name="dataStorageConfiguration">
> <bean
> class="org.apache.ignite.configuration.DataStorageConfiguration">
> <property name="defaultDataRegionConfiguration">
> <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
> <property name="persistenceEnabled" value="true"/>
> <property name="name" value="penguin-region"/>
> <property name="initialSize" value="#{20L * 1024 *
> 1024 * 1024}"/>
> <property name="maxSize" value="#{20L * 1024 * 1024
> * 1024}"/>
> </bean>
> </property>
> <property name="walMode" value="LOG_ONLY"/>
> <property name="systemRegionInitialSize" value="#{100 *
> 1024
> * 1024}"/>
> <property name="dataRegionConfigurations">
> <array>
> <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
> <property name="persistenceEnabled"
> value="true"/>
> <property name="name" value="user-region"/>
> <property name="initialSize" value="#{512 *
> 1024
> * 1024}"/>
> <property name="maxSize" value="#{512 * 1024 *
> 1024}"/>
> </bean>
> </array>
> </property>
> </bean>
> </property>
>
> <property name="cacheConfiguration">
> <list>
>
> <bean
> class="org.apache.ignite.configuration.CacheConfiguration">
> <property name="name"
> value="CLIENT_PROFILE_CACHE_0001"/>
> <property name="cacheMode" value="PARTITIONED"/>
> <property name="backups" value="0"/>
> <property name="partitionLossPolicy"
> value="READ_ONLY_SAFE"/>
> <property name="atomicityMode" value="ATOMIC"/>
> <property name="writeSynchronizationMode"
> value="PRIMARY_SYNC"/>
> <property name="dataRegionName"
> value="penguin-region"/>
> </bean>
>
> </list>
> </property>
>
> <property name="discoverySpi">
> <bean
> class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
> <property name="localPort" value="47001"/>
> <property name="ipFinder">
> <bean
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.
> TcpDiscoveryVmIpFinder">
> <property name="addresses">
> <list>
> <value>127.0.0.1:47000..47500</value>
> </list>
> </property>
> </bean>
> </property>
> </bean>
> </property>
>
> <property name="communicationSpi">
> <bean
> class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
> <property name="localPort" value="48100"/>
> </bean>
> </property>
> </bean>
>
> Log:
> [14:14:15] __________ ________________
> [14:14:15] / _/ ___/ |/ / _/_ __/ __/
> [14:14:15] _/ // (7 7 // / / / / _/
> [14:14:15] /___/\___/_/|_/___/ /_/ /___/
> [14:14:15]
> [14:14:15] ver. 2.5.0#20180523-sha1:86e110c7
> [14:14:15] 2018 Copyright(C) Apache Software Foundation
> [14:14:15]
> [14:14:15] Ignite documentation: http://ignite.apache.org
> [14:14:15]
> [14:14:15] Quiet mode.
> [14:14:15] ^-- Logging to file
> '/opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/
> log/ignite-88833562.0.log'
> [14:14:15] ^-- Logging by 'JavaLogger [quiet=true, config=null]'
> [14:14:15] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
> or "-v" to ignite.{sh|bat}
> [14:14:15]
> [14:14:15] OS: Linux 4.9.0-6-amd64 amd64
> [14:14:15] VM information: Java(TM) SE Runtime Environment 1.8.0_171-b11
> Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.171-b11
> [14:14:15] Configured plugins:
> [14:14:15] ^-- None
> [14:14:15]
> [14:14:15] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
> [tryStop=false, timeout=0]]
> [14:14:15] Message queue limit is set to 0 which may lead to potential
> OOMEs
> when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to
> message queues growth on sender and receiver sides.
> [14:14:15] Security status [authentication=off, tls/ssl=off]
> [14:14:16,448][SEVERE][main][IgniteKernal] Exception during start
> processors, node will be stopped and close connections
> java.nio.BufferUnderflowException
> at java.nio.Buffer.nextGetIndex(Buffer.java:506)
> at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager
> .java:1915)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readCheckpointStatus(
> GridCacheDatabaseSharedManager.java:1892)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readMetastore(
> GridCacheDatabaseSharedManager.java:565)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager
> .java:525)
> at
> org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.
> start(GridCacheSharedManagerAdapter.java:61)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(
> GridCacheProcessor.java:700)
> at
> org.apache.ignite.internal.IgniteKernal.startProcessor(
> IgniteKernal.java:1738)
> at org.apache.ignite.internal.IgniteKernal.start(
> IgniteKernal.java:985)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(
> IgnitionEx.java:2014)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(
> IgnitionEx.java:1723)
> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.
> java:1151)
> at
> org.apache.ignite.internal.IgnitionEx.startConfigurations(
> IgnitionEx.java:1069)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:955)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:854)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:724)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:693)
> at org.apache.ignite.Ignition.start(Ignition.java:352)
> at
> org.apache.ignite.startup.cmdline.CommandLineStartup.
> main(CommandLineStartup.java:301)
> [14:14:16,452][SEVERE][main][IgniteKernal] Got exception while starting
> (will rollback startup routine).
> java.nio.BufferUnderflowException
> at java.nio.Buffer.nextGetIndex(Buffer.java:506)
> at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager
> .java:1915)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readCheckpointStatus(
> GridCacheDatabaseSharedManager.java:1892)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readMetastore(
> GridCacheDatabaseSharedManager.java:565)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager
> .java:525)
> at
> org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.
> start(GridCacheSharedManagerAdapter.java:61)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(
> GridCacheProcessor.java:700)
> at
> org.apache.ignite.internal.IgniteKernal.startProcessor(
> IgniteKernal.java:1738)
> at org.apache.ignite.internal.IgniteKernal.start(
> IgniteKernal.java:985)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(
> IgnitionEx.java:2014)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(
> IgnitionEx.java:1723)
> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.
> java:1151)
> at
> org.apache.ignite.internal.IgnitionEx.startConfigurations(
> IgnitionEx.java:1069)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:955)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:854)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:724)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:693)
> at org.apache.ignite.Ignition.start(Ignition.java:352)
> at
> org.apache.ignite.startup.cmdline.CommandLineStartup.
> main(CommandLineStartup.java:301)
> [14:14:16] Ignite node stopped OK [uptime=00:00:01.472]
> class org.apache.ignite.IgniteException: null
> at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.
> java:990)
> at org.apache.ignite.Ignition.start(Ignition.java:355)
> at
> org.apache.ignite.startup.cmdline.CommandLineStartup.
> main(CommandLineStartup.java:301)
> Caused by: class org.apache.ignite.IgniteCheckedException: null
> at org.apache.ignite.internal.IgniteKernal.start(
> IgniteKernal.java:1138)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(
> IgnitionEx.java:2014)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(
> IgnitionEx.java:1723)
> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.
> java:1151)
> at
> org.apache.ignite.internal.IgnitionEx.startConfigurations(
> IgnitionEx.java:1069)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:955)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:854)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:724)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:693)
> at org.apache.ignite.Ignition.start(Ignition.java:352)
> ... 1 more
> Caused by: java.nio.BufferUnderflowException
> at java.nio.Buffer.nextGetIndex(Buffer.java:506)
> at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager
> .java:1915)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readCheckpointStatus(
> GridCacheDatabaseSharedManager.java:1892)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.readMetastore(
> GridCacheDatabaseSharedManager.java:565)
> at
> org.apache.ignite.internal.processors.cache.persistence.
> GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager
> .java:525)
> at
> org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.
> start(GridCacheSharedManagerAdapter.java:61)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(
> GridCacheProcessor.java:700)
> at
> org.apache.ignite.internal.IgniteKernal.startProcessor(
> IgniteKernal.java:1738)
> at org.apache.ignite.internal.IgniteKernal.start(
> IgniteKernal.java:985)
> ... 10 more
> Failed to start grid: null
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: Ignite 2.5 uncatched BufferUnderflowException while reading WAL
on startup
Posted by DocDVZ <do...@gmail.com>.
Raw text blocks were discarded from message:
Service parameters:
ignite.sh -J-Xmx6g -J-Xms6g -J-XX:+AlwaysPreTouch -J-XX:+UseG1GC
-J-XX:+ScavengeBeforeFullGC -J-XX:+DisableExplicitGC
${IGNITE_HOME}/config/test-ignite-config.xml
Configurations:
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="peerClassLoadingEnabled" value="false"/>
<property name="dataStorageConfiguration">
<bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="defaultDataRegionConfiguration">
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="persistenceEnabled" value="true"/>
<property name="name" value="penguin-region"/>
<property name="initialSize" value="#{20L * 1024 *
1024 * 1024}"/>
<property name="maxSize" value="#{20L * 1024 * 1024
* 1024}"/>
</bean>
</property>
<property name="walMode" value="LOG_ONLY"/>
<property name="systemRegionInitialSize" value="#{100 * 1024
* 1024}"/>
<property name="dataRegionConfigurations">
<array>
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="persistenceEnabled"
value="true"/>
<property name="name" value="user-region"/>
<property name="initialSize" value="#{512 * 1024
* 1024}"/>
<property name="maxSize" value="#{512 * 1024 *
1024}"/>
</bean>
</array>
</property>
</bean>
</property>
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name"
value="CLIENT_PROFILE_CACHE_0001"/>
<property name="cacheMode" value="PARTITIONED"/>
<property name="backups" value="0"/>
<property name="partitionLossPolicy"
value="READ_ONLY_SAFE"/>
<property name="atomicityMode" value="ATOMIC"/>
<property name="writeSynchronizationMode"
value="PRIMARY_SYNC"/>
<property name="dataRegionName" value="penguin-region"/>
</bean>
</list>
</property>
<property name="discoverySpi">
<bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="localPort" value="47001"/>
<property name="ipFinder">
<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
<value>127.0.0.1:47000..47500</value>
</list>
</property>
</bean>
</property>
</bean>
</property>
<property name="communicationSpi">
<bean
class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
<property name="localPort" value="48100"/>
</bean>
</property>
</bean>
Log:
[14:14:15] __________ ________________
[14:14:15] / _/ ___/ |/ / _/_ __/ __/
[14:14:15] _/ // (7 7 // / / / / _/
[14:14:15] /___/\___/_/|_/___/ /_/ /___/
[14:14:15]
[14:14:15] ver. 2.5.0#20180523-sha1:86e110c7
[14:14:15] 2018 Copyright(C) Apache Software Foundation
[14:14:15]
[14:14:15] Ignite documentation: http://ignite.apache.org
[14:14:15]
[14:14:15] Quiet mode.
[14:14:15] ^-- Logging to file
'/opt/penguin/ignite/apache-ignite-fabric-2.5.0-bin/work/log/ignite-88833562.0.log'
[14:14:15] ^-- Logging by 'JavaLogger [quiet=true, config=null]'
[14:14:15] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[14:14:15]
[14:14:15] OS: Linux 4.9.0-6-amd64 amd64
[14:14:15] VM information: Java(TM) SE Runtime Environment 1.8.0_171-b11
Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.171-b11
[14:14:15] Configured plugins:
[14:14:15] ^-- None
[14:14:15]
[14:14:15] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
[tryStop=false, timeout=0]]
[14:14:15] Message queue limit is set to 0 which may lead to potential OOMEs
when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to
message queues growth on sender and receiver sides.
[14:14:15] Security status [authentication=off, tls/ssl=off]
[14:14:16,448][SEVERE][main][IgniteKernal] Exception during start
processors, node will be stopped and close connections
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager.java:1915)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointStatus(GridCacheDatabaseSharedManager.java:1892)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readMetastore(GridCacheDatabaseSharedManager.java:565)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager.java:525)
at
org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.start(GridCacheSharedManagerAdapter.java:61)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:700)
at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1738)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:985)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151)
at
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
at org.apache.ignite.Ignition.start(Ignition.java:352)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
[14:14:16,452][SEVERE][main][IgniteKernal] Got exception while starting
(will rollback startup routine).
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager.java:1915)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointStatus(GridCacheDatabaseSharedManager.java:1892)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readMetastore(GridCacheDatabaseSharedManager.java:565)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager.java:525)
at
org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.start(GridCacheSharedManagerAdapter.java:61)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:700)
at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1738)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:985)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151)
at
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
at org.apache.ignite.Ignition.start(Ignition.java:352)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
[14:14:16] Ignite node stopped OK [uptime=00:00:01.472]
class org.apache.ignite.IgniteException: null
at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:990)
at org.apache.ignite.Ignition.start(Ignition.java:355)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
Caused by: class org.apache.ignite.IgniteCheckedException: null
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1138)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014)
at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723)
at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151)
at
org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:1069)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:955)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
at org.apache.ignite.Ignition.start(Ignition.java:352)
... 1 more
Caused by: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:412)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readPointer(GridCacheDatabaseSharedManager.java:1915)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readCheckpointStatus(GridCacheDatabaseSharedManager.java:1892)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.readMetastore(GridCacheDatabaseSharedManager.java:565)
at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.start0(GridCacheDatabaseSharedManager.java:525)
at
org.apache.ignite.internal.processors.cache.GridCacheSharedManagerAdapter.start(GridCacheSharedManagerAdapter.java:61)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.start(GridCacheProcessor.java:700)
at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1738)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:985)
... 10 more
Failed to start grid: null
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/