You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2017/05/15 13:49:04 UTC
[jira] [Assigned] (IGNITE-5225) TcpCommunicationSpi.createTcpClient
can cause OOME.
[ https://issues.apache.org/jira/browse/IGNITE-5225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Mashenkov reassigned IGNITE-5225:
----------------------------------------
Assignee: Andrew Mashenkov
> TcpCommunicationSpi.createTcpClient can cause OOME.
> ---------------------------------------------------
>
> Key: IGNITE-5225
> URL: https://issues.apache.org/jira/browse/IGNITE-5225
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.0
> Reporter: Andrew Mashenkov
> Assignee: Andrew Mashenkov
> Fix For: 2.1
>
>
> TcpCommunicationSpi.filterReachable method doesn't shutdown executor correctly that causes OOME.
> Possible reason is that user uses host name that can't be resolved somewhere in configuration.
> Caused by: class org.apache.ignite.spi.IgniteSpiException: Failed to send message to remote node: TcpDiscoveryNode [id=edcb71b0-bd61-455a-8742-ade1653b0701, addrs=[0:0:0:0:0:0:0:1%lo, 10.162.115.12, 127.0.
> 0.1], sockAddrs=[0:0:0:0:0:0:0:1%lo:0, /127.0.0.1:0, ny4gets6p.jc.jefco.com/10.162.115.12:0], discPort=0, order=25, intOrder=25, lastExchangeTime=1494183620982, loc=false, ver=1.8.5#20170331-sha1:2d3377c0,
> isClient=true]
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2368)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:2304)
> at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1283)
> ... 34 more
> Caused by: class org.apache.ignite.IgniteCheckedException: java.lang.NullPointerException
> at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7228)
> at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:170)
> at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:119)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2515)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2340)
> ... 36 more
> Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.ignite.internal.util.IgniteUtils.filterReachable(IgniteUtils.java:1884)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createTcpClient(TcpCommunicationSpi.java:2775)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioClient(TcpCommunicationSpi.java:2587)
> at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2479)
> ... 37 more
> Caused by: java.lang.NullPointerException
> at org.apache.ignite.internal.util.IgniteUtils.reachable(IgniteUtils.java:2091)
> at org.apache.ignite.internal.util.IgniteUtils$18.run(IgniteUtils.java:1873)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)