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 53F0F200C16 for ; Thu, 9 Feb 2017 18:42:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 526EA160B50; Thu, 9 Feb 2017 17:42:55 +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 94AC4160B4B for ; Thu, 9 Feb 2017 18:42:54 +0100 (CET) Received: (qmail 54922 invoked by uid 500); 9 Feb 2017 17:42: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 54913 invoked by uid 99); 9 Feb 2017 17:42:53 -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; Thu, 09 Feb 2017 17:42:53 +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 376731A7A09 for ; Thu, 9 Feb 2017 17:42:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled 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 NZQvkzlQlzcY for ; Thu, 9 Feb 2017 17:42: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 19B8F5FB0B for ; Thu, 9 Feb 2017 17:42: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 8D234E0538 for ; Thu, 9 Feb 2017 17:42:42 +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 2D5F821D6A for ; Thu, 9 Feb 2017 17:42:41 +0000 (UTC) Date: Thu, 9 Feb 2017 17:42:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1437) Spark runner StreamingListeners are not recoverable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Feb 2017 17:42:55 -0000 [ https://issues.apache.org/jira/browse/BEAM-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859881#comment-15859881 ] ASF GitHub Bot commented on BEAM-1437: -------------------------------------- GitHub user aviemzur opened a pull request: https://github.com/apache/beam/pull/1962 [BEAM-1437] Spark runner StreamingListeners are not recoverable. Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt). --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/aviemzur/beam recoverable-spark-runner-streaming-listeners Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/1962.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 #1962 ---- commit 791a31f6b434a3b55ea48d4a17a46503fcc9087e Author: Aviem Zur Date: 2017-02-09T17:40:31Z [BEAM-1437] Spark runner StreamingListeners are not recoverable. ---- > Spark runner StreamingListeners are not recoverable. > ---------------------------------------------------- > > Key: BEAM-1437 > URL: https://issues.apache.org/jira/browse/BEAM-1437 > Project: Beam > Issue Type: Bug > Components: runner-spark > Reporter: Amit Sela > Assignee: Aviem Zur > > Spark runner registers user-provided StreamingListeners in {{SparkRunnerStreamingContextFactory#create}} but this is WRONG since recovery/resume path skips this code (on account that it should contain the DStreamGraph creation only, which is checkpointed). > In order any StreamingListener to recover they are probably better of here: https://github.com/apache/beam/blob/master/runners/spark/src/main/java/org/apache/beam/runners/spark/SparkRunner.java#L171 -- This message was sent by Atlassian JIRA (v6.3.15#6346)