Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E24AD200D48 for ; Wed, 29 Nov 2017 15:56:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E1240160C04; Wed, 29 Nov 2017 14:56:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 32B61160BF6 for ; Wed, 29 Nov 2017 15:56:04 +0100 (CET) Received: (qmail 31004 invoked by uid 500); 29 Nov 2017 14:56:03 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 30994 invoked by uid 99); 29 Nov 2017 14:56:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2017 14:56:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AD23E1807A9 for ; Wed, 29 Nov 2017 14:56:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JDRIc8oYgGIv for ; Wed, 29 Nov 2017 14:56:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4BD605F260 for ; Wed, 29 Nov 2017 14:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 939C0E0DDB for ; Wed, 29 Nov 2017 14:56:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 106D421051 for ; Wed, 29 Nov 2017 14:56:00 +0000 (UTC) Date: Wed, 29 Nov 2017 14:56:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-3244) Flink runner does not respect ParDo's lifecycle on case of exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Nov 2017 14:56:05 -0000 [ https://issues.apache.org/jira/browse/BEAM-3244?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16270= 891#comment-16270891 ]=20 ASF GitHub Bot commented on BEAM-3244: -------------------------------------- aljoscha commented on a change in pull request #4174: [BEAM-3244] Ensure ex= ecution of teardown method on Flink's DoFnOperator URL: https://github.com/apache/beam/pull/4174#discussion_r153809786 =20 =20 ########## File path: runners/flink/src/main/java/org/apache/beam/runners/flink/trans= lation/wrappers/streaming/DoFnOperator.java ########## @@ -380,7 +386,6 @@ public void close() throws Exception { } } checkFinishBundleTimer.cancel(true); =20 Review comment: yes, you're right. This can also be moved to `dispose()`. =F0=9F=91=8D= =20 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Flink runner does not respect ParDo's lifecycle on case of exceptions > --------------------------------------------------------------------- > > Key: BEAM-3244 > URL: https://issues.apache.org/jira/browse/BEAM-3244 > Project: Beam > Issue Type: Bug > Components: runner-flink > Affects Versions: 2.2.0 > Reporter: Isma=C3=ABl Mej=C3=ADa > Assignee: Isma=C3=ABl Mej=C3=ADa > > The lifecycle of the DoFn is not respected in case of exception in any of= the lifecycle methods after setup. -- This message was sent by Atlassian JIRA (v6.4.14#64029)