You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2020/01/08 19:17:00 UTC

[jira] [Updated] (BEAM-9070) portableWordCount(Flink|Spark)Runner* tests should use absolute path for jar

     [ https://issues.apache.org/jira/browse/BEAM-9070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kyle Weaver updated BEAM-9070:
------------------------------
    Status: Open  (was: Triage Needed)

> portableWordCount(Flink|Spark)Runner* tests should use absolute path for jar
> ----------------------------------------------------------------------------
>
>                 Key: BEAM-9070
>                 URL: https://issues.apache.org/jira/browse/BEAM-9070
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink, runner-spark
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: Major
>              Labels: portability-flink, portability-spark
>
> The default behavior of the Flink and Spark Python runner clients is to look for the job server jar at a path relative to the source file [1]. This will break whenever we change how the Python source is installed in our tests (such as [2]). The default behavior can be overridden by passing an absolute path to --flink_job_server_jar [3], which we should do.
> [1] https://github.com/apache/beam/blob/d4818ecc56d5b1a54bfc5f05ae0fd49f4142364c/sdks/python/apache_beam/utils/subprocess_server.py#L162
> [2] https://github.com/apache/beam/pull/10378
> [3] https://github.com/apache/beam/blob/bb794884c8f856c8ff38ac903f60d4e0b6a05f15/sdks/python/apache_beam/options/pipeline_options.py#L986



--
This message was sent by Atlassian Jira
(v8.3.4#803005)