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

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

                Author: ASF GitHub Bot
            Created on: 20/Aug/19 10:49
            Start Date: 20/Aug/19 10:49
    Worklog Time Spent: 10m 
      Work Description: mxm commented on pull request #9371: [WIP] [BEAM-7980] 
External environment with containerized worker pool
URL: https://github.com/apache/beam/pull/9371#discussion_r315621360
 
 

 ##########
 File path: sdks/python/container/boot.go
 ##########
 @@ -59,6 +60,18 @@ const (
 
 func main() {
        flag.Parse()
+
+       if *workerPool == true {
+        args := []string{
+            "-m",
+            "apache_beam.runners.worker.worker_pool_main",
+            "--servicer_port=50000",
+            "--container_executable=/opt/apache/beam/boot",
+        }
+        log.Printf("Executing: python %v", strings.Join(args, " "))
 
 Review comment:
   ```suggestion
           log.Printf("Starting Python SDK worker pool: python %v", 
strings.Join(args, " "))
   ```
 
----------------------------------------------------------------
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: 297767)
    Time Spent: 2h 10m  (was: 2h)

> External environment with containerized worker pool
> ---------------------------------------------------
>
>                 Key: BEAM-7980
>                 URL: https://issues.apache.org/jira/browse/BEAM-7980
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-harness
>            Reporter: Thomas Weise
>            Assignee: Thomas Weise
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Augment Beam Python docker image and boot.go so that it can be used to launch 
> BeamFnExternalWorkerPoolServicer.
> [https://docs.google.com/document/d/1z3LNrRtr8kkiFHonZ5JJM_L4NWNBBNcqRc_yAf6G0VI/edit#heading=h.lnhm75dhvhi0]
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to