ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Ignite start-up connection timeout?
Date Wed, 29 Jun 2016 13:38:17 GMT
Hi,

Seems that multicast doesn’t work on your side and you just need to use TcpDiscoveryVmIpFinder
listing IP addresses of all the nodes that will form the cluster. Refer to this documentation
[1] for more info.

As I see from this log the node has started and ready for the usage. Change your logging level
to ‘warning’ mode to avoid tons of debug related messages that can confuse you.

[1] https://apacheignite.readme.io/v1.6/docs/cluster-config#static-ip-based-discovery <https://apacheignite.readme.io/v1.6/docs/cluster-config#static-ip-based-discovery>

—
Denis

> On Jun 29, 2016, at 4:39 AM, deleerhai <185961758@qq.com> wrote:
> 
> Hi,
> Start ignite times wrong. How to solve? How to achieve more than 3 cache
> query? Please help me. Thank you very much!
> 
> 
> [29 09:40:49,277 DEBUG] [localhost-startStop-1]
> multicast.TcpDiscoveryMulticastIpFinder - Address receive timeout.
> [29 09:40:50,203 DEBUG] [tcp-disco-msg-worker-#2%null%] tcp.TcpDiscoverySpi
> - Message has been added to queue: TcpDiscoveryStatusCheckMessage
> [creatorNode=TcpDiscoveryNode [id=ca4d625c-71cb-4de9-b810-61469afe0b35,
> addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.31.156],
> sockAddrs=[PC-20160314ERQT/192.168.31.156:47500, /0:0:0:0:0:0:0:1:47500,
> /127.0.0.1:47500, /192.168.31.156:47500], discPort=47500, order=0,
> intOrder=0, lastExchangeTime=1467164448141, loc=true,
> ver=1.5.0#20151229-sha1:f1f8cda2, isClient=false], failedNodeId=null,
> status=0, super=TcpDiscoveryAbstractMessage [sndNodeId=null,
> id=7f2d0d99551-ca4d625c-71cb-4de9-b810-61469afe0b35, verifierNodeId=null,
> topVer=0, pendingIdx=0, failedNodes=null, isClient=false]]
> [29 09:40:50,203 DEBUG] [tcp-disco-msg-worker-#2%null%] tcp.TcpDiscoverySpi
> - Processing message [cls=TcpDiscoveryStatusCheckMessage,
> id=7f2d0d99551-ca4d625c-71cb-4de9-b810-61469afe0b35]
> [29 09:40:50,204 DEBUG] [tcp-disco-msg-worker-#2%null%] tcp.TcpDiscoverySpi
> - Ignore message, local node order is not initialized
> [msg=TcpDiscoveryStatusCheckMessage [creatorNode=TcpDiscoveryNode
> [id=ca4d625c-71cb-4de9-b810-61469afe0b35, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
> 192.168.31.156], sockAddrs=[PC-20160314ERQT/192.168.31.156:47500,
> /0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, /192.168.31.156:47500],
> discPort=47500, order=0, intOrder=0, lastExchangeTime=1467164448141,
> loc=true, ver=1.5.0#20151229-sha1:f1f8cda2, isClient=false],
> failedNodeId=null, status=0, super=TcpDiscoveryAbstractMessage
> [sndNodeId=null, id=7f2d0d99551-ca4d625c-71cb-4de9-b810-61469afe0b35,
> verifierNodeId=null, topVer=0, pendingIdx=0, failedNodes=null,
> isClient=false]], locNode=TcpDiscoveryNode [id=ca4d625c-71cb-4de9-b81
> 0-61469afe0b35, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.31.156],
> sockAddrs=[PC-20160314ERQT/192.168.31.156:47500, /0:0:0:0:0:0:0:1:47500,
> /127.0.0.1:47500, /192.168.31.156:47500], discPort=47500, order=0,
> intOrder=0, lastExchangeTime=1467164448141, loc=true,
> ver=1.5.0#20151229-sha1:f1f8cda2, isClient=false]]
> [29 09:40:50,258 DEBUG] [localhost-startStop-1]
> multicast.TcpDiscoveryMulticastIpFinder - Address receive timeout.
> [29 09:40:50,260 DEBUG] [localhost-startStop-1]
> multicast.TcpDiscoveryMulticastIpFinder - Received nodes addresses:
> [PC-20160314ERQT/192.168.31.156:47500, /0:0:0:0:0:0:0:1:47500,
> /127.0.0.1:47500]
> [29 09:40:51,006 DEBUG] [grid-timeout-worker-#25%null%]
> timeout.GridTimeoutProcessor - Timeout has occurred: CancelableTask
> [id=5f2d0d99551-ea964ce2-f891-491e-8267-7f5240be0c80, endTime=1467164450992,
> period=3000, cancel=false, task=MetricsUpdater [prevGcTime=-1,
> prevCpuTime=-1,
> super=org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$MetricsUpdater@598ecc79]]
> [29 09:40:51,278 ERROR] [localhost-startStop-1] tcp.TcpDiscoverySpi -
> Exception on direct send: Connection refused: connect
> java.net.ConnectException: Connection refused: connect
> 	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
> 	at
> java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
> 	at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> 	at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> 	at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> 	at java.net.Socket.connect(Socket.java:589)
> 	at
> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.openSocket(TcpDiscoverySpi.java:1266)
> 	at
> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.openSocket(TcpDiscoverySpi.java:1241)
> 	at
> org.apache.ignite.spi.discovery.tcp.ServerImpl.sendMessageDirectly(ServerImpl.java:1086)
> 	at
> org.apache.ignite.spi.discovery.tcp.ServerImpl.sendJoinRequestMessage(ServerImpl.java:939)
> 	at
> org.apache.ignite.spi.discovery.tcp.ServerImpl.joinTopology(ServerImpl.java:804)
> 	at
> org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:329)
> 	at
> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:1835)
> 	at
> org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:255)
> 	at
> org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.start(GridDiscoveryManager.java:660)
> 	at
> org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1505)
> 	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:917)
> 	at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1688)
> 	at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1547)
> 	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1003)
> 	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:534)
> 	at
> org.apache.ignite.startup.servlet.ServletContextListenerStartup.contextInitialized(ServletContextListenerStartup.java:160)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811)
> 	at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
> 	at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> [29 09:40:51,297 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi - Failed
> to send join request message [addr=/127.0.0.1:47501, msg=Connection refused:
> connect]
> [29 09:40:51,297 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi - Join
> request message has not been sent (local node is the first in the topology).
> [29 09:40:51,298 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi -
> Discovery notification [node=TcpDiscoveryNode
> [id=ca4d625c-71cb-4de9-b810-61469afe0b35, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
> 192.168.31.156], sockAddrs=[PC-20160314ERQT/192.168.31.156:47500,
> /0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, /192.168.31.156:47500],
> discPort=47500, order=1, intOrder=1, lastExchangeTime=1467164448141,
> loc=true, ver=1.5.0#20151229-sha1:f1f8cda2, isClient=false],
> spiState=CONNECTED, type=NODE_JOINED, topVer=1]
> [29 09:40:51,298 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi - Added
> topology snapshot to history, topVer=1, historySize=1
> [29 09:40:51,312 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi -
> Discovery SPI has been connected to topology with order: 1
> [29 09:40:51,332 DEBUG] [localhost-startStop-1] tcp.TcpDiscoverySpi - SPI
> started ok [startMs=0,
> spiMBean=org.apache:clsLdr=3efad741,group=SPIs,name=TcpDiscoverySpi]
> [29 09:40:51,333 DEBUG] [localhost-startStop-1]
> discovery.GridDiscoveryManager - SPI module started OK:
> org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi
> 
> 
> 
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-start-up-connection-timeout-tp5983.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Mime
View raw message