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

Igal Shilman commented on FLINK-18894:
--------------------------------------

Obtaining a MAX_PRIO mailbox from StreamTask, solves this issue. I was able to 
run
{code:java}
curl -X POST localhost:8001/jobs/:jobid/stop -d '{"drain": false}' {code}
and the job has terminated successfully, a PR would follow soon.

 

> StateFun job stalls on stop-with-savepoint
> ------------------------------------------
>
>                 Key: FLINK-18894
>                 URL: https://issues.apache.org/jira/browse/FLINK-18894
>             Project: Flink
>          Issue Type: Bug
>          Components: Stateful Functions
>    Affects Versions: statefun-2.1.0, statefun-2.2.0
>            Reporter: Seth Wiesman
>            Assignee: Igal Shilman
>            Priority: Blocker
>         Attachments: stacktrace.txt
>
>
> Stateful Function jobs stall when performing a stop with savepoint. The 
> FunctionDispatchOperator never completes the sync  portion of the savepoint. 
> Taking a savepoint and then canceling in two separate steps works correctly, 
> it is only the stop command that has issues. 
> {code}
> curl -X POST localhost:8001/jobs/:jobid/stop -d '{"drain": false}'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to