You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2016/04/20 19:10:25 UTC
[jira] [Created] (FLINK-3796) FileSourceFunction doesn't respect
InputFormat's life cycle methods
Maximilian Michels created FLINK-3796:
-----------------------------------------
Summary: FileSourceFunction doesn't respect InputFormat's life cycle methods
Key: FLINK-3796
URL: https://issues.apache.org/jira/browse/FLINK-3796
Project: Flink
Issue Type: Bug
Components: Streaming
Affects Versions: 1.0.1, 1.0.0, 1.0.2
Reporter: Maximilian Michels
Assignee: Maximilian Michels
Fix For: 1.1.0
The {{FileSourceFunction}} wraps {{InputFormat}} but doesn't execute its life cycle functions correctly.
1) It doesn't call {{close()}} before reading the next InputSplit via {{open(InputSplit split)}}.
2) It calls {{close()}} even if no InputSplit has been read (and thus open(..) hasn't been called previously).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)