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

ASF GitHub Bot commented on FLINK-2523:
---------------------------------------

GitHub user kl0u opened a pull request:

    https://github.com/apache/flink/pull/1662

    FLINK-2523: Makes the task cancellation interval configurable. 

    This PR is rebased on top of https://github.com/apache/flink/pull/1583 . 
Please review that first.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kl0u/flink cancelation_interval

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1662.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1662
    
----
commit bf0e50034b6b0e6afa9fd38595a5eb82b0ec0fcd
Author: Aljoscha Krettek <[email protected]>
Date:   2016-02-03T10:07:38Z

    [hotfix] Fix typos in Trigger.java

commit 2495feaaffc010fdcc541b2ac53e574b9c5c8db4
Author: Kostas Kloudas <[email protected]>
Date:   2016-02-03T12:58:12Z

    FLINK-3327: Attaches the ExecutionConfig to the JobGraph and propagates it 
to the Task itself.

commit 80e9215dabea0b12db8d1dad7c8693f6df676d6b
Author: kl0u <[email protected]>
Date:   2016-02-17T18:14:23Z

    FLINK-2523: Makes the task cancellation interval configurable.

----


> Make task canceling interrupt interval configurable
> ---------------------------------------------------
>
>                 Key: FLINK-2523
>                 URL: https://issues.apache.org/jira/browse/FLINK-2523
>             Project: Flink
>          Issue Type: Improvement
>          Components: TaskManager
>    Affects Versions: 0.10.0
>            Reporter: Stephan Ewen
>            Assignee: Klou
>             Fix For: 1.0.0
>
>
> When a task is canceled, the cancellation calls periodically "interrupt()" on 
> the task thread, if the task thread does not cancel with a certain time.
> Currently, this value is hard coded to 10 seconds. We should make that time 
> configurable.
> Until then, I would like to increase the value to 30 seconds, as many tasks 
> (here I am observing it for Kafka consumers) can take longer then 10 seconds 
> for proper cleanup.



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

Reply via email to