You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2020/04/10 07:30:00 UTC
[jira] [Updated] (FLINK-17080) Utils.CollectHelper is possible to
throw NPE if the sink is up but not initialized when the job fails
[ https://issues.apache.org/jira/browse/FLINK-17080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caizhi Weng updated FLINK-17080:
--------------------------------
Labels: pull-request-available (was: )
> Utils.CollectHelper is possible to throw NPE if the sink is up but not initialized when the job fails
> -----------------------------------------------------------------------------------------------------
>
> Key: FLINK-17080
> URL: https://issues.apache.org/jira/browse/FLINK-17080
> Project: Flink
> Issue Type: Bug
> Components: API / DataSet
> Affects Versions: 1.11.0
> Reporter: Caizhi Weng
> Priority: Major
> Labels: pull-request-available
>
> When the sink using {{Utils.CollectHelper}} is up but not initialized and the job fails due to other operators, it is possible that the {{close()}} method of {{Utils.CollectHelper}} is called when {{open()}} is not called.
> Currently {{Utils.CollectHelper}} does not deal with this case and will throw NPE.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)