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

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

                Author: ASF GitHub Bot
            Created on: 20/Apr/18 22:49
            Start Date: 20/Apr/18 22:49
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on a change in pull request #5191: 
[BEAM-4097] Set environment for Python sdk function specs.
URL: https://github.com/apache/beam/pull/5191#discussion_r183184666
 
 

 ##########
 File path: 
sdks/python/apache_beam/runners/portability/universal_local_runner.py
 ##########
 @@ -72,6 +74,9 @@ def __init__(
     self._job_service_lock = threading.Lock()
     self._subprocess = None
     self._runner_api_address = runner_api_address
+    self._docker_image = (
+      docker_image
+      or os.environ['USER'] + '-docker.apache.bintray.io/beam/python:latest')
 
 Review comment:
   I think this is built by the gradle task, right @bsidhom ?
   
   In any case, I've put this into a method and added logging to make things 
more clear. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 93462)

> Python SDK should set the environment in the job submission protos
> ------------------------------------------------------------------
>
>                 Key: BEAM-4097
>                 URL: https://issues.apache.org/jira/browse/BEAM-4097
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to