[ https://issues.apache.org/jira/browse/BEAM-9446?focusedWorklogId=398731&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398731 ]
ASF GitHub Bot logged work on BEAM-9446: ---------------------------------------- Author: ASF GitHub Bot Created on: 05/Mar/20 22:24 Start Date: 05/Mar/20 22:24 Worklog Time Spent: 10m Work Description: ibzib commented on pull request #11052: [BEAM-9446] Add missing parallelism and execution mode args. URL: https://github.com/apache/beam/pull/11052#discussion_r388602678 ########## File path: sdks/python/apache_beam/options/pipeline_options.py ########## @@ -1075,6 +1075,22 @@ def _add_argparse_args(cls, parser): ' directly, rather than starting up a job server.' ' Only applies when flink_master is set to a' ' cluster address. Requires Python 3.6+.') + parser.add_argument( + '--parallelism', + default=-1, + type=int, + help='The degree of parallelism to be used when distributing ' + 'operations onto workers. If the parallelism is not set, the ' + 'configured Flink default is used, or 1 if none can be found.' + ) + parser.add_argument( + '--execution_mode_for_batch', Review comment: I agree, though as discussed earlier we might have difficulties parsing non-string options. I'll try it and see how it goes. ---------------------------------------------------------------- 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: 398731) Time Spent: 1h (was: 50m) > FlinkRunner discards parallelism and execution_mode_for_batch pipeline options > ------------------------------------------------------------------------------ > > Key: BEAM-9446 > URL: https://issues.apache.org/jira/browse/BEAM-9446 > Project: Beam > Issue Type: Bug > Components: runner-flink > Reporter: Kyle Weaver > Assignee: Kyle Weaver > Priority: Major > Labels: portability-flink > Time Spent: 1h > Remaining Estimate: 0h > > I need these options for TFX, but they're being discarded (I believe they are > normally supplied by the job server). -- This message was sent by Atlassian Jira (v8.3.4#803005)