You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "riteshghorse (via GitHub)" <gi...@apache.org> on 2023/08/21 19:16:03 UTC
[GitHub] [beam] riteshghorse commented on a diff in pull request #28046: [Python] Get available python version and use it for Python SDK harness boot entry point
riteshghorse commented on code in PR #28046:
URL: https://github.com/apache/beam/pull/28046#discussion_r1300544741
##########
sdks/python/container/boot.go:
##########
@@ -91,7 +92,12 @@ func main() {
"--container_executable=/opt/apache/beam/boot",
}
log.Printf("Starting worker pool %v: python %v", workerPoolId, strings.Join(args, " "))
- if err := execx.Execute("python", args...); err != nil {
+ pythonVersion, err := expansionx.GetPythonVersion()
+ if err != nil {
+ log.Print("Python SDK worker pool exited.")
Review Comment:
yeah
--
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.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org