[ https://issues.apache.org/jira/browse/BEAM-8835?focusedWorklogId=352941&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-352941 ]
ASF GitHub Bot logged work on BEAM-8835: ---------------------------------------- Author: ASF GitHub Bot Created on: 03/Dec/19 19:52 Start Date: 03/Dec/19 19:52 Worklog Time Spent: 10m Work Description: mxm commented on pull request #10270: [BEAM-8835] Disable Flink Uber Jar by default. URL: https://github.com/apache/beam/pull/10270#discussion_r353389047 ########## 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: I suppose we should also consider both, python version and `flink_master`. ---------------------------------------------------------------- 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: 352941) Time Spent: 40m (was: 0.5h) > 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: 40m > 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)