Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33B17192ED for ; Wed, 20 Apr 2016 17:10:26 +0000 (UTC) Received: (qmail 11989 invoked by uid 500); 20 Apr 2016 17:10:25 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 11922 invoked by uid 500); 20 Apr 2016 17:10:25 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 11818 invoked by uid 99); 20 Apr 2016 17:10:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2016 17:10:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 86DCA2C1F6B for ; Wed, 20 Apr 2016 17:10:25 +0000 (UTC) Date: Wed, 20 Apr 2016 17:10:25 +0000 (UTC) From: "Maximilian Michels (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3796) FileSourceFunction doesn't respect InputFormat's life cycle methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)