[
https://issues.apache.org/jira/browse/BEAM-6853?focusedWorklogId=228266&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-228266
]
ASF GitHub Bot logged work on BEAM-6853:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Apr/19 09:49
Start Date: 16/Apr/19 09:49
Worklog Time Spent: 10m
Work Description: mxm commented on pull request #8286: [BEAM-6853] Make
sdkWorkerParallelism option consistent
URL: https://github.com/apache/beam/pull/8286#discussion_r275715708
##########
File path: sdks/python/apache_beam/options/pipeline_options.py
##########
@@ -801,7 +803,7 @@ def _add_argparse_args(cls, parser):
'"<ENV_VAL>"} }. All fields in the json are optional except '
'command.'))
parser.add_argument(
- '--sdk_worker_parallelism', default=None,
+ '--sdk_worker_parallelism', default=1,
Review comment:
From PortablePipelineOptions.java:
``` @Description(
"Sets the number of sdk worker processes that will run on each worker
node. Default is 1. If"
+ " 0, it will be automatically set by the runner by looking at
different parameters "
+ "(e.g. 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: 228266)
Time Spent: 2h 50m (was: 2h 40m)
> 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: 2h 50m
> 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)