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 27360200B99 for ; Wed, 5 Oct 2016 20:08:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 25D2B160ADE; Wed, 5 Oct 2016 18:08:26 +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 38833160AC9 for ; Wed, 5 Oct 2016 20:08:25 +0200 (CEST) Received: (qmail 84745 invoked by uid 500); 5 Oct 2016 18:08:24 -0000 Mailing-List: contact commits-help@beam.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.incubator.apache.org Delivered-To: mailing list commits@beam.incubator.apache.org Received: (qmail 84736 invoked by uid 99); 5 Oct 2016 18:08:24 -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; Wed, 05 Oct 2016 18:08:24 +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 C223EC0B9A for ; Wed, 5 Oct 2016 18:08:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -7.019 X-Spam-Level: X-Spam-Status: No, score=-7.019 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id zFPc8P89pMjO for ; Wed, 5 Oct 2016 18:08:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 974FE5F245 for ; Wed, 5 Oct 2016 18:08:21 +0000 (UTC) Received: (qmail 81629 invoked by uid 99); 5 Oct 2016 18:08:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 18:08:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9A7642C2A67 for ; Wed, 5 Oct 2016 18:08:20 +0000 (UTC) Date: Wed, 5 Oct 2016 18:08:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-259) Execute selected RunnableOnService tests with Spark runner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Oct 2016 18:08:26 -0000 [ https://issues.apache.org/jira/browse/BEAM-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549524#comment-15549524 ] ASF GitHub Bot commented on BEAM-259: ------------------------------------- GitHub user amitsela opened a pull request: https://github.com/apache/incubator-beam/pull/1055 [BEAM-259] Enable RunnableOnService for batch. 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). --- Handle empty Flatten for bounded. Spark will bubble out a SparkException for user code failure, so this won't catch. Asserting on the error message should be good enough. outputWithTimestamp should handle start/finishBundle as well. Explode WindowedValues before processing. sideOutputWithTimestamp to address start/finishBundle. SideInput with windows. Unused for now, remove. Take sideInput window startegy into account, for combine as well. reduce code duplication. Spark combine support. reuse code where possible. Expose sideInputs and insertDefault in Combine.Globally for direct translation. Direct translation of Combine.Globally into Spark's aggregate function. Make default run with 4 cores by default - makes tests run with multiple threads, but not too many. SideInputReader for the Spark runner. A common abstraction for Keyed and Global implementation. Implement Combine.Globally via Spark's aggregate. runnable-on-service profile doesn't need pluginManagement. Removing test as it does not follow a deterministic combine implementation. Context reuse is mostly for testing. To avoid a test failure that will stop the context and fail all following tests we need to recreate the context if it's stopped as well. You can merge this pull request into a Git repository by running: $ git pull https://github.com/amitsela/incubator-beam BEAM-259 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-beam/pull/1055.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 #1055 ---- commit 53ed9951203da7f7e2cff0ef4d9ec64f37a0f29d Author: Sela Date: 2016-09-23T10:32:28Z Enable RunnableOnService for batch. Handle empty Flatten for bounded. Spark will bubble out a SparkException for user code failure, so this won't catch. Asserting on the error message should be good enough. outputWithTimestamp should handle start/finishBundle as well. Explode WindowedValues before processing. sideOutputWithTimestamp to address start/finishBundle. SideInput with windows. Unused for now, remove. Take sideInput window startegy into account, for combine as well. reduce code duplication. Spark combine support. reuse code where possible. Expose sideInputs and insertDefault in Combine.Globally for direct translation. Direct translation of Combine.Globally into Spark's aggregate function. Make default run with 4 cores by default - makes tests run with multiple threads, but not too many. SideInputReader for the Spark runner. A common abstraction for Keyed and Global implementation. Implement Combine.Globally via Spark's aggregate. runnable-on-service profile doesn't need pluginManagement. Removing test as it does not follow a deterministic combine implementation. Context reuse is mostly for testing. To avoid a test failure that will stop the context and fail all following tests we need to recreate the context if it's stopped as well. ---- > Execute selected RunnableOnService tests with Spark runner > ---------------------------------------------------------- > > Key: BEAM-259 > URL: https://issues.apache.org/jira/browse/BEAM-259 > Project: Beam > Issue Type: Test > Components: runner-spark > Reporter: Kenneth Knowles > Assignee: Amit Sela > -- This message was sent by Atlassian JIRA (v6.3.4#6332)