You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2015/03/25 07:19:54 UTC

[jira] [Comment Edited] (IGNITE-552) Need to output warnings when all data nodes left grid

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

Sergey Kozlov edited comment on IGNITE-552 at 3/25/15 6:19 AM:
---------------------------------------------------------------

Example node got following:
{noformat}
[09:11:15,759][WARN ][grid-nio-worker-0-#35%null%][TcpCommunicationSpi] Failed to process selector key (will close): GridSelectorNioSessionImpl [selectorIdx=0, queueSize=1, writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], recovery=GridNioRecoveryDescriptor [acked=4992, resendCnt=0, rcvCnt=5004, reserved=true, lastAck=4992, nodeLeft=false, node=TcpDiscoveryNode [id=b6ef61ad-4ca3-4959-acdb-b563aa5b1ffc, addrs=[127.0.0.1, 192.168.100.9, 0:0:0:0:0:0:0:1], sockAddrs=[/127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500, /0:0:0:0:0:0:0:1:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150324-sha1:d99f2726, isClient=false], connected=true, connectCnt=0, queueLimit=5120], super=GridNioSessionImpl [locAddr=/127.0.0.1:47101, rmtAddr=/127.0.0.1:50097, createTime=1427263857276, closeTime=0, bytesSent=128880244, bytesRcvd=403893, sndSchedTime=1427263875746, lastSndTime=1427263875746, lastRcvTime=1427263875746, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=o.a.i.i.util.nio.GridDirectParser@195c4ab7, directMode=true], GridConnectionBytesVerifyFilter], accepted=true]]
[09:11:15,759][WARN ][grid-nio-worker-0-#35%null%][TcpCommunicationSpi] Closing NIO session because of unhandled exception [cls=class o.a.i.i.util.nio.GridNioException, msg=Удаленный хост принудительно разорвал существующее подключение]
[09:11:16,964][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/127.0.0.1:47100]
[09:11:18,964][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/0:0:0:0:0:0:0:1:47100]
[09:11:19,965][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=ksm-homepc/169.254.90.143:47100]
[09:11:20,966][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/192.168.100.9:47100]
[09:11:20,966][WARN ][main][TcpCommunicationSpi] Failed to connect to a remote node (make sure that destination node is alive and operating system firewall is disabled on local and remote hosts) [addrs=[/127.0.0.1:47100, /0:0:0:0:0:0:0:1:47100, ksm-homepc/169.254.90.143:47100, /192.168.100.9:47100]]
[09:11:21,968][WARN ][disco-event-worker-#46%null%][GridDiscoveryManager] Node FAILED: TcpDiscoveryNode [id=b6ef61ad-4ca3-4959-acdb-b563aa5b1ffc, addrs=[127.0.0.1, 192.168.100.9, 0:0:0:0:0:0:0:1], sockAddrs=[/127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500, /0:0:0:0:0:0:0:1:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150324-sha1:d99f2726, isClient=false]

[09:12:01,180][WARN ][main][TcpDiscoverySpi] Failed to ping node (status check will be initiated): b6ef61ad-4ca3-4959-acdb-b563aa5b1ffc
[09:12:01,181][WARN ][exchange-worker-#48%null%][GridDhtPartitionsExchangeFuture] All server nodes for the following caches have left the cluster: 'randomNumbers'
[09:12:01,181][WARN ][exchange-worker-#48%null%][GridDhtPartitionsExchangeFuture] Must have server nodes for caches to operate.

{noformat}


was (Author: skozlov):
Example node got following:
{noformat}
[09:11:15,759][WARN ][grid-nio-worker-0-#35%null%][TcpCommunicationSpi] Failed to process selector key (will close): GridSelectorNioSessionImpl [selectorIdx=0, queueSize=1, writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], recovery=GridNioRecoveryDescriptor [acked=4992, resendCnt=0, rcvCnt=5004, reserved=true, lastAck=4992, nodeLeft=false, node=TcpDiscoveryNode [id=b6ef61ad-4ca3-4959-acdb-b563aa5b1ffc, addrs=[127.0.0.1, 192.168.100.9, 0:0:0:0:0:0:0:1], sockAddrs=[/127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500, /0:0:0:0:0:0:0:1:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150324-sha1:d99f2726, isClient=false], connected=true, connectCnt=0, queueLimit=5120], super=GridNioSessionImpl [locAddr=/127.0.0.1:47101, rmtAddr=/127.0.0.1:50097, createTime=1427263857276, closeTime=0, bytesSent=128880244, bytesRcvd=403893, sndSchedTime=1427263875746, lastSndTime=1427263875746, lastRcvTime=1427263875746, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=o.a.i.i.util.nio.GridDirectParser@195c4ab7, directMode=true], GridConnectionBytesVerifyFilter], accepted=true]]
[09:11:15,759][WARN ][grid-nio-worker-0-#35%null%][TcpCommunicationSpi] Closing NIO session because of unhandled exception [cls=class o.a.i.i.util.nio.GridNioException, msg=Удаленный хост принудительно разорвал существующее подключение]
[09:11:16,964][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/127.0.0.1:47100]
[09:11:18,964][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/0:0:0:0:0:0:0:1:47100]
[09:11:19,965][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=ksm-homepc/169.254.90.143:47100]
[09:11:20,966][WARN ][main][TcpCommunicationSpi] Connect timed out (consider increasing 'connTimeout' configuration property) [addr=/192.168.100.9:47100]
[09:11:20,966][WARN ][main][TcpCommunicationSpi] Failed to connect to a remote node (make sure that destination node is alive and operating system firewall is disabled on local and remote hosts) [addrs=[/127.0.0.1:47100, /0:0:0:0:0:0:0:1:47100, ksm-homepc/169.254.90.143:47100, /192.168.100.9:47100]]
[09:11:21,968][WARN ][disco-event-worker-#46%null%][GridDiscoveryManager] Node FAILED: TcpDiscoveryNode [id=b6ef61ad-4ca3-4959-acdb-b563aa5b1ffc, addrs=[127.0.0.1, 192.168.100.9, 0:0:0:0:0:0:0:1], sockAddrs=[/127.0.0.1:47500, ksm-homepc/169.254.90.143:47500, /192.168.100.9:47500, /0:0:0:0:0:0:0:1:47500], discPort=47500, order=1, intOrder=1, loc=false, ver=1.0.0#20150324-sha1:d99f2726, isClient=false]
{noformat}

> Need to output warnings when all data nodes left grid
> -----------------------------------------------------
>
>                 Key: IGNITE-552
>                 URL: https://issues.apache.org/jira/browse/IGNITE-552
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>    Affects Versions: sprint-2
>            Reporter: Alexey Goncharuk
>            Assignee: Sergey Kozlov
>             Fix For: sprint-2
>
>
> We need to print out warning notifying the user when cache was created, but all data nodes have left the grid.
> To test the warning, do the following:
> # Start example node startup
> # Start random numbers streamer.
> # Kill node startup
> # Streamer should print warning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)