You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2018/03/23 10:39:00 UTC

[jira] [Commented] (FLINK-8789) StoppableFunctions sometimes not detected

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

Till Rohrmann commented on FLINK-8789:
--------------------------------------

The problem is that the {{invokable}} has not been set because the {{Task}} is not yet in state running.

> StoppableFunctions sometimes not detected
> -----------------------------------------
>
>                 Key: FLINK-8789
>                 URL: https://issues.apache.org/jira/browse/FLINK-8789
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.5.0
>            Reporter: Chesnay Schepler
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> While porting the {{TimestampITCase}} i got a strange exception in the logs when running {{testWatermarkPropagationNoFinalWatermarkOnStop}}:
> {code:java}
> Caused by: java.lang.UnsupportedOperationException: Stopping not supported by task Source: Custom Source (1/1) (87f44b422280be896bdf44766ebeb53e).
>     at org.apache.flink.runtime.taskmanager.Task.stopExecution(Task.java:965)
>     at org.apache.flink.runtime.taskexecutor.TaskExecutor.stopTask(TaskExecutor.java:549)
>     ... 18 more{code}
>  This source however implements the {{StoppableFunction}} interface.
> This happens also against a legacy cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)