[
https://issues.apache.org/jira/browse/BEAM-6853?focusedWorklogId=215383&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-215383
]
ASF GitHub Bot logged work on BEAM-6853:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Mar/19 11:21
Start Date: 19/Mar/19 11:21
Worklog Time Spent: 10m
Work Description: robertwb commented on pull request #8082: [BEAM-6853]
Add sdk-worker-parallelism and environment-cache-millis to python sdk
URL: https://github.com/apache/beam/pull/8082#discussion_r266838809
##########
File path: sdks/python/apache_beam/options/pipeline_options.py
##########
@@ -737,6 +737,15 @@ def _add_argparse_args(cls, parser):
'"<process to execute>", "env":{"<Environment variables 1>": '
'"<ENV_VAL>"} }. All fields in the json are optional except '
'command.'))
+ parser.add_argument(
+ '--sdk-worker-parallelism', default=None,
+ help=('Sets the number of sdk worker processes that will run on each '
+ 'worker node. Default is 1. If 0, it will be automatically set '
Review comment:
I'd leave 0 a bit unspecified, e.g. it will be chose by the runner (e.g. by
looking at the number of CPU cores on the worker machine).
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 215383)
Time Spent: 0.5h (was: 20m)
> Make Java and python portable options same
> ------------------------------------------
>
> Key: BEAM-6853
> URL: https://issues.apache.org/jira/browse/BEAM-6853
> Project: Beam
> Issue Type: Task
> Components: sdk-py-core
> Reporter: Ankur Goenka
> Assignee: Ankur Goenka
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Java
> [PortableRunnerOptions|https://github.com/apache/beam/blob/f21cfaefd54afb798103dc90ab57290739e81e81/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PortablePipelineOptions.java#L80]
> and [Python Portable
> options|https://github.com/apache/beam/blob/f21cfaefd54afb798103dc90ab57290739e81e81/sdks/python/apache_beam/options/pipeline_options.py#L719]
> don't have the same values limiting the use of sdk-worker-parallelism and
> environment-cache-millis in python sdk.
>
> Add these options to the python sdk.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)