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 BA272200C49 for ; Fri, 17 Mar 2017 15:14:13 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B8285160B80; Fri, 17 Mar 2017 14:14:13 +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 0F2F1160B6D for ; Fri, 17 Mar 2017 15:14:12 +0100 (CET) Received: (qmail 56073 invoked by uid 500); 17 Mar 2017 14:14:12 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 56062 invoked by uid 99); 17 Mar 2017 14:14:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 14:14:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 910361A0051 for ; Fri, 17 Mar 2017 14:14:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.499 X-Spam-Level: ** X-Spam-Status: No, score=2.499 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=mindlytix-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SwrxtCDLN-Pz for ; Fri, 17 Mar 2017 14:14:10 +0000 (UTC) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2D1D85F238 for ; Fri, 17 Mar 2017 14:14:10 +0000 (UTC) Received: by mail-wr0-f176.google.com with SMTP id u108so52837363wrb.3 for ; Fri, 17 Mar 2017 07:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mindlytix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=FMf3pBahUsrmQs1lj2KlNMFQTxrijifvsis9x1Bei9E=; b=Jbe24WGWHKwY1Ihv2SrP17w/icp5FxDMy5oGH+r+2RiPIRtgQsMVcjL7LUFhuY7I6a K4z59zf0/9eZxZrQKzWQUwe57NOa7WIPULCVj3IXdrYYxpB/zrHLAWVQuz8dUcHYFYwz uPFLqW2F1fIv2V2Vrwu5pz9LY/vKKJtVwWWyc5FEtHo7fHHhNHu+jFWfDlZWbBhyXGLo +tsBKuVsIpjDAlLtitjEu2EzqBGFtnl/zycDg6sOey9njhjMJ7t9vSoyGFORShNtUGqD jTzjkVioIJ9x4KgmvDGR//KQPdsMU//lOTrBEZPa8GmfC282DckfXUoruATz7DiIZBDt Q4Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FMf3pBahUsrmQs1lj2KlNMFQTxrijifvsis9x1Bei9E=; b=EFDGAA1+ox5oae/+UQ0zrtV+IUqvGIxQuzNQ5hOuikKDlK4Jyr/GuaKSph9Mbp6feN ePsrabntQkS9VyTsN5u5PxQPhCBBQpu+RgbwYZZPZRU0w9wK7ilazQhoQtOxXbHqikrc umDNG4gAgRAVTrCeqE48jkv2Q1Q2U4C6+bpkvpUSox7A2BMyrEVBhzZDu8qPlZaWOcej MHkQXMocXINEj0C28DpsX1kWigewzNToJnCuPsoadcmRB/c/AOVGkVY1zXT/bUbynNGL 9yl8xQ8sBZ2e+ZtjRXhHPBn7FfE5UntaflyHNEWT0tgrdDONv6b1ZjtnU0+iOlN2BDPg V+nw== X-Gm-Message-State: AFeK/H2bAR6kememJPjCzLAPDT4hhhDj7q//ik8Esey20KWg9N2r3p9XdJbYHeQU/fIYqn3+u+4DWQs/UvAcfA== X-Received: by 10.223.164.140 with SMTP id g12mr13335348wrb.87.1489760048698; Fri, 17 Mar 2017 07:14:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.152.19 with HTTP; Fri, 17 Mar 2017 07:14:08 -0700 (PDT) From: Yassine MARZOUGUI Date: Fri, 17 Mar 2017 15:14:08 +0100 Message-ID: Subject: ProcessingTimeTimer in ProcessFunction after a savepoint To: user@flink.apache.org Content-Type: multipart/alternative; boundary=f403045f168080ef29054aedca56 archived-at: Fri, 17 Mar 2017 14:14:13 -0000 --f403045f168080ef29054aedca56 Content-Type: text/plain; charset=UTF-8 Hi all, How does the processing time timer behave when a job is taken down with a savepoint and then restarted after the timer was supposed to fire? Will the timer fire at restart because it was missed during the savepoint? I'm wondering because I would like to schedule periodic timers in the future (in processing time) at which a state is read and emitted, but I'm afraid the timer will never fire if it occurs when the job is being down, and therefore the state will never be emitted. Best, Yassine --f403045f168080ef29054aedca56 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

How does the processing time ti= mer behave when a job is taken down with a savepoint and then restarted aft= er the timer was supposed to fire? Will the timer fire at restart because i= t was missed during the savepoint?

I'm wonderi= ng because I would like to schedule periodic timers in the future (in proce= ssing time) at which a state is read and emitted, but I'm afraid the ti= mer will never fire if it occurs when the job is being down, and therefore = the state will never be emitted.

Best,
Y= assine
--f403045f168080ef29054aedca56--