ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4060) RoundRobinLoadBalancingSpi doesn't work after client reconnect.
Date Wed, 09 Nov 2016 08:39:58 GMT

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

ASF GitHub Bot commented on IGNITE-4060:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/1157


> RoundRobinLoadBalancingSpi doesn't work after client reconnect.
> ---------------------------------------------------------------
>
>                 Key: IGNITE-4060
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4060
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>    Affects Versions: 1.7
>            Reporter: Vladimir Ozerov
>            Assignee: Taras Ledkov
>             Fix For: 1.8
>
>         Attachments: RoundRodbinErrorReproducer.java
>
>
> If {{IgntieCompute.apply()}} is called on a client after reconnect, it fails. Reproducer
code is attached. The problem is that {{RoundRobinLoadBalancingSpi}} (which is default one)
is not notified about topology reset.
> Sample stack trace:
> {code}
> class org.apache.ignite.IgniteException: Task topology does not have alive nodes: [TcpDiscoveryNode
[id=50f56f53-bbf6-4d66-bfc5-02d801241e14, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1476269284697, loc=false, ver=1.7.0#19700101-sha1:00000000,
isClient=false]]
> 	at org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinGlobalLoadBalancer.checkBalancerNodes(RoundRobinGlobalLoadBalancer.java:256)
> 	at org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinGlobalLoadBalancer.getBalancedNode(RoundRobinGlobalLoadBalancer.java:201)
> 	at org.apache.ignite.spi.loadbalancing.roundrobin.RoundRobinLoadBalancingSpi.getBalancedNode(RoundRobinLoadBalancingSpi.java:307)
> 	at org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager.getBalancedNode(GridLoadBalancerManager.java:81)
> 	at org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager$1.getBalancedNode(GridLoadBalancerManager.java:99)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$T8.map(GridClosureProcessor.java:1616)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor$T8.map(GridClosureProcessor.java:1587)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$2.call(GridTaskWorker.java:519)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker$2.call(GridTaskWorker.java:517)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6509)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.body(GridTaskWorker.java:516)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:679)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:403)
> 	at org.apache.ignite.internal.processors.closure.GridClosureProcessor.callAsync(GridClosureProcessor.java:630)
> 	at org.apache.ignite.internal.IgniteComputeImpl.apply(IgniteComputeImpl.java:451)
> {code}



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

Mime
View raw message