[ https://issues.apache.org/jira/browse/BEAM-8396?focusedWorklogId=335481&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-335481 ]
ASF GitHub Bot logged work on BEAM-8396: ---------------------------------------- Author: ASF GitHub Bot Created on: 29/Oct/19 11:19 Start Date: 29/Oct/19 11:19 Worklog Time Spent: 10m Work Description: mxm commented on pull request #9833: [BEAM-8396] Default to LOOPBACK mode for local flink runner. URL: https://github.com/apache/beam/pull/9833#discussion_r340017371 ########## File path: sdks/python/apache_beam/runners/portability/flink_runner.py ########## @@ -34,7 +34,9 @@ class FlinkRunner(portable_runner.PortableRunner): def default_job_server(self, options): flink_master = options.view_as(FlinkRunnerOptions).flink_master if flink_master == '[local]' or sys.version_info < (3, 6): - # TOOD(BEAM-8396): Also default to LOOPBACK for [local]. + portable_options = options.view_as(pipeline_options.PortableOptions) + if flink_master == '[local]' and not portable_options.environment_type: + portable_options.environment_type == 'LOOPBACK' Review comment: I wonder, what is the effect of this statement? ---------------------------------------------------------------- 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: 335481) Time Spent: 50m (was: 40m) > Default to LOOPBACK mode for local flink (spark, ...) runner. > ------------------------------------------------------------- > > Key: BEAM-8396 > URL: https://issues.apache.org/jira/browse/BEAM-8396 > Project: Beam > Issue Type: Improvement > Components: sdk-py-core > Reporter: Robert Bradshaw > Assignee: Robert Bradshaw > Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > As well as being lower overhead, this will avoid surprises about workers > operating within the docker filesystem, etc. -- This message was sent by Atlassian Jira (v8.3.4#803005)