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 4F6BD200BBB for ; Thu, 10 Nov 2016 23:12:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4E1F7160B01; Thu, 10 Nov 2016 22:12:04 +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 95989160AF7 for ; Thu, 10 Nov 2016 23:12:03 +0100 (CET) Received: (qmail 27530 invoked by uid 500); 10 Nov 2016 22:12:02 -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 27520 invoked by uid 99); 10 Nov 2016 22:12:02 -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; Thu, 10 Nov 2016 22:12:02 +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 4361BC0115 for ; Thu, 10 Nov 2016 22:12:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -7.018 X-Spam-Level: X-Spam-Status: No, score=-7.018 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, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-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 NsbUwx_YBRSr for ; Thu, 10 Nov 2016 22:12:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 71D9C60E1C for ; Thu, 10 Nov 2016 22:11:59 +0000 (UTC) Received: (qmail 26870 invoked by uid 99); 10 Nov 2016 22:11:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 22:11:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5D4652C0059 for ; Thu, 10 Nov 2016 22:11:58 +0000 (UTC) Date: Thu, 10 Nov 2016 22:11:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-802) Support Dynamic PipelineOptions for python MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 10 Nov 2016 22:12:04 -0000 [ https://issues.apache.org/jira/browse/BEAM-802?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D156553= 14#comment-15655314 ]=20 ASF GitHub Bot commented on BEAM-802: ------------------------------------- GitHub user mariapython opened a pull request: https://github.com/apache/incubator-beam/pull/1342 [BEAM-802] -- Add ability to stage a job and/or stop the execution Modify create_job to allow staging the job and not submitting it to the= service. - Modularize create_job in create job description, stage job, and send = for execution. - Modify --dataflow_job_file to stage the job and continue submitting i= t to the service. - Add --template_location to stage the job but not submit it to the ser= vice. - Add tests for both, including making them mutually exclusive (followi= ng Java SDK decision). - Add template_runner_test.py with integration tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mariapython/incubator-beam python-sdk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-beam/pull/1342.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 #1342 =20 ---- commit 3b46dbc7729bd4a3c83e2aa985c7e20b8bc2210b Author: Maria Garcia Herrero Date: 2016-11-02T16:14:48Z Modify create_job to allow staging the job and not submitting it to the= service. =20 - Modularize create_job in create job description, stage job, and send = for execution. - Modify --dataflow_job_file to stage the job and continue submitting i= t to the service. - Add --template_location to stage the job but not submit it to the ser= vice. - Add tests for both, including making them mutually exclusive (followi= ng Java SDK decision). - Add template_runner_test.py with integration tests. ---- > Support Dynamic PipelineOptions for python > ------------------------------------------ > > Key: BEAM-802 > URL: https://issues.apache.org/jira/browse/BEAM-802 > Project: Beam > Issue Type: New Feature > Components: sdk-py > Reporter: Mar=C3=ADa GH > Assignee: Mar=C3=ADa GH > Priority: Minor > Original Estimate: 1,680h > Remaining Estimate: 1,680h > > Goal: Enable users to run pipelines from templates filled via CL (pipeli= ne options) > Background: Currently, the Runner creates the JSON pipeline description w= hich can be sent to the worker as is, since everything is already defined t= here (with links to gs:// for input and binaries). With the parametrized ap= proach, those descriptions are empty and filled by the user or defaulted, s= o the pipeline needs to be stored somewhere first until the values become a= vailable. > Tasks: > 1- Create template-style pipeline description (TemplateRunner) > The graph description is now a template (some parts are not filled) that = needs to be saved. > 2- Define values to inject to the template (ValueProviders API) > The placeholders can be filled with default values (static) or with dynam= ic key/value pairs provided at runtime (dynamic) -- This message was sent by Atlassian JIRA (v6.3.4#6332)