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

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

                Author: ASF GitHub Bot
            Created on: 10/Nov/18 02:04
            Start Date: 10/Nov/18 02:04
    Worklog Time Spent: 10m 
      Work Description: tweise closed pull request #6999: [BEAM-5467] Adding 
back environment to python pipeline
URL: https://github.com/apache/beam/pull/6999
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/apache_beam/runners/portability/portable_runner.py 
b/sdks/python/apache_beam/runners/portability/portable_runner.py
index 581c8bb1b52..6344f4610c7 100644
--- a/sdks/python/apache_beam/runners/portability/portable_runner.py
+++ b/sdks/python/apache_beam/runners/portability/portable_runner.py
@@ -31,6 +31,7 @@
 from apache_beam.portability.api import beam_job_api_pb2
 from apache_beam.portability.api import beam_job_api_pb2_grpc
 from apache_beam.portability.api import beam_runner_api_pb2
+from apache_beam.runners import pipeline_context
 from apache_beam.runners import runner
 from apache_beam.runners.job import utils as job_utils
 from apache_beam.runners.portability import portable_stager
@@ -108,7 +109,10 @@ def run_pipeline(self, pipeline):
       docker = DockerizedJobServer()
       job_endpoint = docker.start()
 
-    proto_pipeline = pipeline.to_runner_api()
+    proto_context = pipeline_context.PipelineContext(
+        default_environment=PortableRunner._create_environment(
+            portable_options))
+    proto_pipeline = pipeline.to_runner_api(context=proto_context)
 
     # Some runners won't detect the GroupByKey transform unless it has no
     # subtransforms.  Remove all sub-transforms until BEAM-4605 is resolved.


 

----------------------------------------------------------------
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: 164612)
    Time Spent: 16h  (was: 15h 50m)

> Python Flink ValidatesRunner job issues
> ---------------------------------------
>
>                 Key: BEAM-5467
>                 URL: https://issues.apache.org/jira/browse/BEAM-5467
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink
>            Reporter: Thomas Weise
>            Priority: Critical
>              Labels: portability-flink
>          Time Spent: 16h
>  Remaining Estimate: 0h
>
>  
> The job is currently flaky and does not provide a useful signal. 



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

Reply via email to