Hi Vinay,

I think IgniteCompute.activeTaskFutures() will give you map of active tasks.
And you may iterate over that map and cancel that tasks.
But you should do it on all nodes with tasks, because in javadoc I see
"Gets tasks future for active tasks started on local node."

/**
 * Gets tasks future for active tasks started on local node.
 *
 * @return Map of active tasks keyed by their task task session ID.
 */
public <R> Map<IgniteUuid, ComputeTaskFuture<R>> activeTaskFutures();


Hope this help.

On Wed, Nov 9, 2016 at 11:02 PM, Vinay B, <[email protected]> wrote:

> Could someone point me to the applicable API that can return  a list of
> executing jobs on an ignite node?
>
> Additionally, given a list of executing jobs, I would like to be able to
> cancel selected jobs. What is the API I should be looking at?
>
>
> Thanks in advance
>
>
>


-- 
Alexey Kuznetsov

Reply via email to