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 A8AAB200C64 for ; Fri, 28 Apr 2017 17:10:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A742E160BB8; Fri, 28 Apr 2017 15:10:08 +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 ECCC0160B8C for ; Fri, 28 Apr 2017 17:10:07 +0200 (CEST) Received: (qmail 75177 invoked by uid 500); 28 Apr 2017 15:10:07 -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 75168 invoked by uid 99); 28 Apr 2017 15:10:07 -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; Fri, 28 Apr 2017 15:10:07 +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 9D6D218139D for ; Fri, 28 Apr 2017 15:10:06 +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-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 VJ4WP3BTp_5h for ; Fri, 28 Apr 2017 15:10:05 +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 9B5AC5FBB9 for ; Fri, 28 Apr 2017 15:10:05 +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 2CA7BE00B4 for ; Fri, 28 Apr 2017 15:10:05 +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 DA11421DCA for ; Fri, 28 Apr 2017 15:10:04 +0000 (UTC) Date: Fri, 28 Apr 2017 15:10:04 +0000 (UTC) From: "Aljoscha Krettek (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1641) Support synchronized processing time in Flink runner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Apr 2017 15:10:08 -0000 [ https://issues.apache.org/jira/browse/BEAM-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15988973#comment-15988973 ] Aljoscha Krettek commented on BEAM-1641: ---------------------------------------- Quick side note: In Flink, if you set your "stream time characteristic" (a bit of a mouthful) to _ingestion time_ then you will essentially get the behaviour of synchronised processing time. What this does is assign the current system time as the element timestamp at the sources and generates watermarks based on the current system time. After the sources it uses the same mechanism as event-time. The problem is that it uses exactly the same mechanism, i.e. you can either have proper event-time or ingestion time and there is actually no difference to operators. All they see is "event time" and it might be actual event time or ingestion time. I think the proper solution would be for Flink to track ingestion time (which is synchronised processing time) and event-time at the same time in one job. [~kenn] and [~lzljs3620320], what do you think? > Support synchronized processing time in Flink runner > ---------------------------------------------------- > > Key: BEAM-1641 > URL: https://issues.apache.org/jira/browse/BEAM-1641 > Project: Beam > Issue Type: Bug > Components: runner-flink > Reporter: Kenneth Knowles > Assignee: Aljoscha Krettek > Priority: Blocker > Fix For: First stable release > > > The "continuation trigger" for a processing time trigger is a synchronized processing time trigger. Today, this throws an exception in the FlinkRunner. > The supports the following: > - GBK1 > - GBK2 > When GBK1 fires due to processing time past the first element in the pane and that element arrives at GBK2, it will wait until all the other upstream keys have also processed and emitted corresponding data. > Sorry for the terseness of explanation - writing quickly so I don't forget. -- This message was sent by Atlassian JIRA (v6.3.15#6346)