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 C88EE200C29 for ; Tue, 28 Feb 2017 18:21:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C705A160B7C; Tue, 28 Feb 2017 17:21:54 +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 1BB35160B59 for ; Tue, 28 Feb 2017 18:21:53 +0100 (CET) Received: (qmail 76640 invoked by uid 500); 28 Feb 2017 17:21:53 -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 76631 invoked by uid 99); 28 Feb 2017 17:21:53 -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; Tue, 28 Feb 2017 17:21:53 +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 E669218E0ED for ; Tue, 28 Feb 2017 17:21:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6x2WJ_mUMysQ for ; Tue, 28 Feb 2017 17:21:52 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2B3CC60DE1 for ; Tue, 28 Feb 2017 17:21:52 +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 A0B49E0652 for ; Tue, 28 Feb 2017 17:21:47 +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 F1E8F24196 for ; Tue, 28 Feb 2017 17:21:45 +0000 (UTC) Date: Tue, 28 Feb 2017 17:21:45 +0000 (UTC) From: "Aljoscha Krettek (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (BEAM-1517) Garbage collect user state in Flink Runner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Feb 2017 17:21:55 -0000 [ https://issues.apache.org/jira/browse/BEAM-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aljoscha Krettek updated BEAM-1517: ----------------------------------- Priority: Blocker (was: Major) > Garbage collect user state in Flink Runner > ------------------------------------------ > > Key: BEAM-1517 > URL: https://issues.apache.org/jira/browse/BEAM-1517 > Project: Beam > Issue Type: Bug > Components: runner-flink > Affects Versions: 0.6.0 > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > Priority: Blocker > Fix For: 0.6.0 > > > User facing state/timers in Beam are bound to the key/window of the data. Right now, the Flink Runner does not clean up user state when the watermark passes the GC horizon for the state associated with a given window. > Neither {{StateInternals}} nor the Flink state API support discarding state for a whole namespace (which is the window in this case) so we might have to manually set a GC timer for each window/key combination, as is done in the {{ReduceFnRunner}}. For this we have to know all states a user can possibly use, which we can get from the {{DoFn}} signature. -- This message was sent by Atlassian JIRA (v6.3.15#6346)