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 39BE8200C2A for ; Tue, 14 Feb 2017 22:58:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 387E7160B45; Tue, 14 Feb 2017 21:58:24 +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 813B6160B5F for ; Tue, 14 Feb 2017 22:58:23 +0100 (CET) Received: (qmail 57493 invoked by uid 500); 14 Feb 2017 21:58:22 -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 57475 invoked by uid 99); 14 Feb 2017 21:58:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2017 21:58:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6C68EDFAB2; Tue, 14 Feb 2017 21:58:22 +0000 (UTC) From: tgroh To: commits@beam.apache.org Reply-To: commits@beam.apache.org Message-ID: Subject: [GitHub] beam pull request #2006: [BEAM-646] Get the #apply out of the DirectRunner Content-Type: text/plain Date: Tue, 14 Feb 2017 21:58:22 +0000 (UTC) archived-at: Tue, 14 Feb 2017 21:58:24 -0000 GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2006 [BEAM-646] Get the #apply out of the DirectRunner 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). --- Use the Graph Surgery API in the DirectRunner. The Forwarding View is currently required to ensure that the `WriteView` transform is marked as the producer of the View proper. It is then replaced by the original view, so the Pipeline writes the view to the correct location. I'm going to revisit the producer-marking code soon, but this is safe to review. I also missed invariant maintenance within TransformHierarchy within #1998, so that's added here as well. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam surgery_ish Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2006.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 #2006 ---- commit 46543d75a92b8c6c19b55581ec8253ffd76f4058 Author: Thomas Groh Date: 2017-02-09T19:37:33Z Return a Forwarding View in View Overrides This ensures that replacing an output will not fail to mark the overridden view as produced by the replacement transform. commit e950ba71d7cc6910c6be7dd39576bca3c96287de Author: Thomas Groh Date: 2017-02-14T21:56:07Z Add the replacement input to Unexpanded Inputs commit a8bf815ea4f0ff3bc9701936cd1547d222eafebc Author: Thomas Groh Date: 2017-02-09T19:45:06Z Use Graph Surgery in the DirectRunner Remove DirectRunner#apply(). This migrates the DirectRunner to work on a runner-agnostic graph. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---