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

Yun Gao commented on FLINK-28824:
---------------------------------

Thanks [~Weijie Guo] for looking at this issue!

> StreamingJobGraphGenerator#triggerSerializationAndReturnFuture might swallow 
> exception 
> ---------------------------------------------------------------------------------------
>
>                 Key: FLINK-28824
>                 URL: https://issues.apache.org/jira/browse/FLINK-28824
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.16.0
>            Reporter: Yun Gao
>            Assignee: Weijie Guo
>            Priority: Major
>
> Currently the `triggerSerializationAndReturnFuture` is executed in a separate 
> thread. Currently when this method throws exception (for example, users may 
> pass an UDF that is not serializable), then the main thread would be blocked.
> We'd better fail the future for any exception thrown in this thread. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to