[
https://issues.apache.org/jira/browse/BEAM-8273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver updated BEAM-8273:
------------------------------
Description:
When environment_type=PROCESS, environment_config specifies the command to run
the worker processes. Right now, it defaults to None and errors if not set
(`TypeError: expected string or buffer`).
It might not be feasible to offer a one-size-fits-all executable for providing
as environment_config, but we could at least:
a) make it easier to build one (right now I only see the executable being built
in a test script that depends on docker:
[https://github.com/apache/beam/blob/cbf8a900819c52940a0edd90f59bf6aec55c817a/sdks/python/test-suites/portable/py2/build.gradle#L146-L165])
b) document the process
c) link to the documentation when no environment_config is provided
was:
When environment_type=PROCESS, environment_config specifies the command to run
the worker processes. Right now, it defaults to None and errors if not set
(`TypeError: expected string or buffer`).
It might not be feasible to offer a one-size-fits-all executable for providing
as environment_config, but we could at least:
a) make it easier to build one (right now I only see the executable being built
in a test script that depends on docker: )
b) document the process
c) link to the documentation when no environment_config is provided
> Improve worker script for environment_type=PROCESS
> --------------------------------------------------
>
> Key: BEAM-8273
> URL: https://issues.apache.org/jira/browse/BEAM-8273
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-harness
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: Major
>
> When environment_type=PROCESS, environment_config specifies the command to
> run the worker processes. Right now, it defaults to None and errors if not
> set (`TypeError: expected string or buffer`).
> It might not be feasible to offer a one-size-fits-all executable for
> providing as environment_config, but we could at least:
> a) make it easier to build one (right now I only see the executable being
> built in a test script that depends on docker:
> [https://github.com/apache/beam/blob/cbf8a900819c52940a0edd90f59bf6aec55c817a/sdks/python/test-suites/portable/py2/build.gradle#L146-L165])
> b) document the process
> c) link to the documentation when no environment_config is provided
--
This message was sent by Atlassian Jira
(v8.3.4#803005)