[
https://issues.apache.org/jira/browse/BEAM-11394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver updated BEAM-11394:
-------------------------------
Description:
We need Java to run job servers in subprocesses [1]. Currently this code always
uses the "java" executable on the $PATH. But changing $PATH or adding an alias
is a global(ish) change, and it's cumbersome, or even impossible in some
environments (Forge). Having a pipeline option for it is easier and better
isolated.
[1]
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/utils/subprocess_server.py
was:
We need Java to run job servers, expansion services etc. in subprocesses [1]
and [2] (and possibly elsewhere I have missed?). Currently this code always
uses the "java" executable on the $PATH. But changing $PATH or adding an alias
is a global(ish) change, and it's cumbersome, or even impossible in some
environments (Forge). Having a pipeline option for it is easier and better
isolated.
[1]
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/utils/subprocess_server.py
[2]
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/portability/job_server.py
> Make job server Java launcher configurable in pipeline options.
> ---------------------------------------------------------------
>
> Key: BEAM-11394
> URL: https://issues.apache.org/jira/browse/BEAM-11394
> Project: Beam
> Issue Type: New Feature
> Components: sdk-py-core
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: P2
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> We need Java to run job servers in subprocesses [1]. Currently this code
> always uses the "java" executable on the $PATH. But changing $PATH or adding
> an alias is a global(ish) change, and it's cumbersome, or even impossible in
> some environments (Forge). Having a pipeline option for it is easier and
> better isolated.
> [1]
> https://github.com/apache/beam/blob/master/sdks/python/apache_beam/utils/subprocess_server.py
--
This message was sent by Atlassian Jira
(v8.3.4#803005)