ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Dynamic ComputeTask distribution with new nodes
Date Mon, 17 Aug 2015 20:23:49 GMT

Yes, with the default configuration jobs are mapped to nodes when submitted
to ExecutorService (or when run/call is called). After that the job sits in
that node's queue and waits until it can be executed.

But this behavior can be changed by enabling job stealing. This is the
feature that allows to move jobs from the queue to underloaded nodes (in
your case it will be the newly joined node).

You will need to configure JobStealingCollisionSpi [1] and
JobStealingFailoverSpi [2] (note that they should be always used in
conjunction with each other). Here is how the configuration should look like
(refer to JavaDoc for available optional parameters):

<property name="collisionSpi">

<property name="failoverSpi">



View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Dynamic-ComputeTask-distribution-with-new-nodes-tp997p1012.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message