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 ED5AD200C4B for ; Mon, 20 Mar 2017 21:24:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC249160B71; Mon, 20 Mar 2017 20:24:45 +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 492CB160B8F for ; Mon, 20 Mar 2017 21:24:45 +0100 (CET) Received: (qmail 39822 invoked by uid 500); 20 Mar 2017 20:24:44 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 39811 invoked by uid 99); 20 Mar 2017 20:24:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 20:24:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EFE1EC0118 for ; Mon, 20 Mar 2017 20:24:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fQ8mMq1k0tNM for ; Mon, 20 Mar 2017 20:24:43 +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 C78C95F649 for ; Mon, 20 Mar 2017 20:24:42 +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 EE21AE05EE for ; Mon, 20 Mar 2017 20:24:41 +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 A2A06254D4 for ; Mon, 20 Mar 2017 20:24:41 +0000 (UTC) Date: Mon, 20 Mar 2017 20:24:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXCORE-619) recovery window id in future for terminating state less operators during relaunch. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Mar 2017 20:24:46 -0000 [ https://issues.apache.org/jira/browse/APEXCORE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933473#comment-15933473 ] ASF GitHub Bot commented on APEXCORE-619: ----------------------------------------- GitHub user tushargosavi opened a pull request: https://github.com/apache/apex-core/pull/490 APEXCORE-619 Checkpoint leaf stateless operator for correct recovery after application restart. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tushargosavi/apex-core APEXCORE-619_wrong_recovery_id Alternatively you can review and apply these changes as the patch at: https://github.com/apache/apex-core/pull/490.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #490 ---- commit 853405c653f73f32cf708dab9a9959993796ad3f Author: Tushar R. Gosavi Date: 2017-03-20T18:21:12Z APEXCORE-619 Checkpoint leaf stateless operator for correct recovery after application restart. ---- > recovery window id in future for terminating state less operators during relaunch. > ---------------------------------------------------------------------------------- > > Key: APEXCORE-619 > URL: https://issues.apache.org/jira/browse/APEXCORE-619 > Project: Apache Apex Core > Issue Type: Bug > Reporter: Tushar Gosavi > Assignee: Tushar Gosavi > Priority: Minor > > With following DAG > A -> B -> C > C is a stateless operator. If this application is killed and restarted after long time between kill and restart, then recovery window id of C is too high compare to A and B. This is because recovery windowid is computed from current timestamp for stateless operators in updateRecoveryCheckpoints. > The problem this causes > - Operator C does not process any data till windowId of B reached to recovery window id of C. > - If other operators are not able to keep up then C gets killed because it is detected as blocked operator. -- This message was sent by Atlassian JIRA (v6.3.15#6346)