Kyle Weaver created BEAM-11394:
----------------------------------

             Summary: Make 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


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



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

Reply via email to