ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Popov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5189) Unexpected error occurs when node left topology.
Date Tue, 31 Oct 2017 14:50:00 GMT

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

Alexey Popov commented on IGNITE-5189:
--------------------------------------

IgniteUtils.reachable is failed with NPE at
{{ return addr.isReachable(reachTimeout);}}
It means that addr is NULL here.

TcpCommunicationSpi.java:2891 passes a list with NULL element...


> Unexpected error occurs when node left topology.
> ------------------------------------------------
>
>                 Key: IGNITE-5189
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5189
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.8, 1.9, 2.0
>            Reporter: Andrew Mashenkov
>            Assignee: Alexey Popov
>
> Error occurs sporadically. Usually, it happens when one of server nodes left topology
and client can't connect to other servers via communication.
> Using preferIPv4 option solve the issue.
> Also, possibly the fact that it seems ok on ignite-1.6 version, may be helpful.
> ERROR 2017-05-10T09:57:58,282 - de.uplanet.test.integration.RemoteTestServiceBean[pool-4-thread-1]
> Failed to send message to remote node: TcpDiscoveryNode [id=ef626cb1-3880-418e-a9d1-68fd692771fd,
addrs=[0:0:0:0:0:0:0:1%lo, 10.0.2.15, 127.0.0.1, 172.17.0.1], sockAddrs=[/172.17.0.1:0, 0:0:0:0:0:0:0:1%lo:0,
/127.0.0.1:0, /10.0.2.15:0], discPort=0, order=3, intOrder=3, lastExchangeTime=1494410235152,
loc=false, ver=2.0.0#20170430-sha1:d4eef3c6, isClient=true]
> org.apache.ignite.spi.IgniteSpiException: Failed to send message to remote node: TcpDiscoveryNode
[id=ef626cb1-3880-418e-a9d1-68fd692771fd, addrs=[0:0:0:0:0:0:0:1%lo, 10.0.2.15, 127.0.0.1,
172.17.0.1], sockAddrs=[/172.17.0.1:0, 0:0:0:0:0:0:0:1%lo:0, /127.0.0.1:0, /10.0.2.15:0],
discPort=0, order=3, intOrder=3, lastExchangeTime=1494410235152, loc=false, ver=2.0.0#20170430-sha1:d4eef3c6,
isClient=true]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2483)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:2419)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1329)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1698)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.managers.communication.GridIoManager.sendOrderedMessageToGridTopic(GridIoManager.java:1473)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.managers.communication.GridIoManager.sendUserMessage(GridIoManager.java:1588)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.IgniteMessagingImpl.sendOrdered(IgniteMessagingImpl.java:165)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at de.uplanet.lucy.server.distributed.cloud.datagrid.ignite.IgniteGridTopic.publish(IgniteGridTopic.java:58)
~[update/:?]
>                 at de.uplanet.test.integration.RemoteTestServiceBean.lambda$3(RemoteTestServiceBean.java:123)
~[update/:?]
>                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[?:1.8.0_92]
>                 at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92]
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_92]
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_92]
>                 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]
> Caused by: org.apache.ignite.IgniteCheckedException: java.lang.NullPointerException
>                 at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7242)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:258)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:170)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:139)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2630)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2455)
~[ignite-core-2.0.0.jar:2.0.0]
>                 ... 13 more
> Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
>                 at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_92]
>                 at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_92]
>                 at org.apache.ignite.internal.util.IgniteUtils.filterReachable(IgniteUtils.java:1895)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createTcpClient(TcpCommunicationSpi.java:2891)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioClient(TcpCommunicationSpi.java:2702)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2594)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2455)
~[ignite-core-2.0.0.jar:2.0.0]
>                 ... 13 more
> Caused by: java.lang.NullPointerException
>                 at org.apache.ignite.internal.util.IgniteUtils.reachable(IgniteUtils.java:2102)
~[ignite-core-2.0.0.jar:2.0.0]
>                 at org.apache.ignite.internal.util.IgniteUtils$18.run(IgniteUtils.java:1884)
~[ignite-core-2.0.0.jar:2.0.0]



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

Mime
View raw message