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

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

                Author: ASF GitHub Bot
            Created on: 03/Dec/19 20:21
            Start Date: 03/Dec/19 20:21
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on pull request #10270: [BEAM-8835] 
Disable Flink Uber Jar by default.
URL: https://github.com/apache/beam/pull/10270#discussion_r353402229
 
 

 ##########
 File path: sdks/python/apache_beam/runners/portability/flink_runner.py
 ##########
 @@ -49,15 +49,17 @@ def default_job_server(self, options):
     flink_master = self.add_http_scheme(
         flink_options.flink_master)
     flink_options.flink_master = flink_master
-    if flink_master in MAGIC_HOST_NAMES or sys.version_info < (3, 6):
-      return job_server.StopOnExitJobServer(FlinkJarJobServer(options))
-    else:
+    if (flink_options.flink_submit_uber_jar
+        and sys.version_info >= (3, 6)
 
 Review comment:
   Added comments and error for Python < 3.6. 
 
----------------------------------------------------------------
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: 352952)
    Time Spent: 1.5h  (was: 1h 20m)

> Artifact retrieval fails with FlinkUberJarJobServer
> ---------------------------------------------------
>
>                 Key: BEAM-8835
>                 URL: https://issues.apache.org/jira/browse/BEAM-8835
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>            Reporter: Kyle Weaver
>            Priority: Major
>             Fix For: 2.17.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> We seem to be able to stage artifacts and retrieve the manifest fine, but 
> retrieving the artifacts doesn't work. This happens on both my k8s Flink 
> cluster and on my local Flink cluster. At a quick glance the artifact is in 
> the jar where it should be. cc [~robertwb]
> 2019-11-21 18:43:39,336 INFO  
> org.apache.beam.runners.fnexecution.artifact.AbstractArtifactRetrievalService 
>  - GetArtifact name: "pickled_main_session"
> retrieval_token: "BEAM-PIPELINE/pipeline/artifact-manifest.json"
>  failed
> java.io.IOException: Unable to load 
> e1d24d848414cecf805a7b5c2b950c6430c20eb32875dac00b40f80f3c73a141/ea0d10d07f4601782ed647e8f6ba4a055be13674ab79fa0c6e2fa44917c5264c
>  with 
> org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$ChildFirstClassLoader@785297ac



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to