You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "ARomantsov (JIRA)" <ji...@apache.org> on 2019/02/08 11:46:00 UTC
[jira] [Created] (IGNITE-11263) If host in TcpDiscoveryVmIpFinder
is unreachable - server hang on start
ARomantsov created IGNITE-11263:
-----------------------------------
Summary: If host in TcpDiscoveryVmIpFinder is unreachable - server hang on start
Key: IGNITE-11263
URL: https://issues.apache.org/jira/browse/IGNITE-11263
Project: Ignite
Issue Type: Bug
Affects Versions: 2.5
Reporter: ARomantsov
Fix For: 2.8
If one of servers in discovery ipFinder is unreachable - server hang on start
repeat locally with commands
sudo iptables -A INPUT DROP
sudo iptables -A OUTPUT DROP
{code:java}
<!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. -->
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ackTimeout" value="60000"/>
<property name="maxAckTimeout" value="90000"/>
<property name="reconnectCount" value="2"/>
<property name="socketTimeout" value="30000"/>
<property name="ipFinder">
<!--
Ignite provides several options for automatic discovery that can be used
instead os static IP based discovery. For information on all options refer
to our documentation: http://apacheignite.readme.io/docs/cluster-config
-->
<!-- Uncomment static IP finder to enable static-based discovery of initial nodes. -->
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
{code}
Server logs end with
{code:java}
[14:39:44,668][INFO][main][GridCacheDatabaseSharedManager] Read checkpoint status [startMarker=null, endMarker=null]
[14:39:44,669][INFO][main][GridCacheDatabaseSharedManager] Applying lost cache updates since last checkpoint record [lastMarked=FileWALPointer [idx=0, fileOff=0, len=0], lastCheckpointId=00000000-0000-0000-0000-000000000000]
[14:39:44,700][INFO][main][GridCacheDatabaseSharedManager] Finished applying WAL changes [updatesApplied=0, time=30 ms]
[14:39:44,700][INFO][main][GridCacheDatabaseSharedManager] Restoring partition state for local groups.
[14:39:44,705][INFO][main][GridCacheDatabaseSharedManager] Finished restoring partition state for local groups [groupsProcessed11partitionsProcessed=0, time=10ms]
[14:39:45,252][INFO][main][TcpDiscoverySpi] Successfully bound to TCP port [port=47500, localHost=0.0.0.0/0.0.0.0, locNodeId=6621cfd7-26a8-4bc0-a80a-88c6281aa118]
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)