[ https://issues.apache.org/jira/browse/BEAM-11394?focusedWorklogId=521412&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-521412 ]
ASF GitHub Bot logged work on BEAM-11394: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Dec/20 22:13 Start Date: 07/Dec/20 22:13 Worklog Time Spent: 10m Work Description: ibzib commented on a change in pull request #13487: URL: https://github.com/apache/beam/pull/13487#discussion_r537872923 ########## File path: sdks/python/apache_beam/options/pipeline_options.py ########## @@ -1176,6 +1176,12 @@ def _add_argparse_args(cls, parser): default=0, help='Port to use for artifact staging. 0 to use a ' 'dynamic port.') + parser.add_argument( + '--java_launcher', + default='java', + help='The Java Application Launcher executable file to use for ' + 'starting a Java job server. If unset, `java` from the ' + 'environment\'s $PATH is used.') Review comment: That's a great question. Originally I was going to do both in this PR, but I reconsidered because expansion services and job servers are logically separate things (although job servers sometimes include expansion services). So I'll take your suggestion to rename, and we'll track the expansion service in BEAM-11414. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 521412) Time Spent: 40m (was: 0.5h) > 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: 40m > 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/runners/portability/job_server.py -- This message was sent by Atlassian Jira (v8.3.4#803005)