[ 
https://issues.apache.org/jira/browse/BEAM-8273?focusedWorklogId=343779&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-343779
 ]

ASF GitHub Bot logged work on BEAM-8273:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Nov/19 22:03
            Start Date: 14/Nov/19 22:03
    Worklog Time Spent: 10m 
      Work Description: tweise commented on issue #10116: [BEAM-8273] Expand 
portability environment documentation
URL: https://github.com/apache/beam/pull/10116#issuecomment-554101322
 
 
   Thanks for taking this up! For external environment here are some notes in 
case you want to include:
   ```
   External environment / worker pool can be used like this:
   
   docker run --rm -p=50000:50000 
gcr.io/apache-beam-testing/beam/sdks/snapshot/python3.6:20190904 
--worker_pool=true
   
   ( or docker run --rm -p=50000:50000 
localusername-docker-apache.bintray.io/beam/python:latest --worker_pool=true)
   
   Add to pipeline options: --environment_type=EXTERNAL 
--environment_config=localhost:50000 
   
   If you run the jobserver outside Docker, export 
BEAM_WORKER_POOL_IN_DOCKER_VM=1
   ```
   
 
----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 343779)
    Time Spent: 20m  (was: 10m)

> 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
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to