[ https://issues.apache.org/jira/browse/BEAM-5190?focusedWorklogId=137277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-137277 ]
ASF GitHub Bot logged work on BEAM-5190: ---------------------------------------- Author: ASF GitHub Bot Created on: 23/Aug/18 07:40 Start Date: 23/Aug/18 07:40 Worklog Time Spent: 10m Work Description: angoenka opened a new pull request #6267: [BEAM-5190] Fixing Python SDK thread count for Portable Runners URL: https://github.com/apache/beam/pull/6267 Portable pipeline options have a different structure than the legacy runners. Correctly parsing the pipeline options and using it to get the worker_threads ------------------------ Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). It will help us expedite review of your Pull Request if you tag someone (e.g. `@username`) to look at it. Post-Commit Tests Status (on master branch) ------------------------------------------------------------------------------------------------ Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/) | --- | --- | --- | --- | --- | --- Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/) | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/) </br> [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | --- | --- | --- | --- ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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: 137277) Time Spent: 10m Remaining Estimate: 0h > Python pipeline options are not picked correctly by PortableRunner > ------------------------------------------------------------------ > > Key: BEAM-5190 > URL: https://issues.apache.org/jira/browse/BEAM-5190 > Project: Beam > Issue Type: Bug > Components: sdk-py-harness > Reporter: Ankur Goenka > Assignee: Ankur Goenka > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Python SDK worker is deserializing the pipeline options to dictionary instead > of PipelineOptions > Sample log > [grpc-default-executor-2] INFO sdk_worker_main.main - Python sdk harness > started with pipeline_options: \{u'beam:option:flink_master:v1': u'[auto]', > u'beam:option:streaming:v1': False, u'beam:option:experiments:v1': > [u'beam_fn_api', u'worker_threads=50'], u'beam:option:dry_run:v1': False, > u'beam:option:runner:v1': None, u'beam:option:profile_memory:v1': False, > u'beam:option:runtime_type_check:v1': False, u'beam:option:region:v1': > u'us-central1', u'beam:option:options_id:v1': 1, u'beam:option:no_auth:v1': > False, u'beam:option:dataflow_endpoint:v1': > u'https://dataflow.googleapis.com', u'beam:option:sdk_location:v1': > u'/usr/local/google/home/goenka/d/work/beam/beam/sdks/python/dist/apache-beam-2.7.0.dev0.tar.gz', > u'beam:option:direct_runner_use_stacked_bundle:v1': True, > u'beam:option:save_main_session:v1': True, > u'beam:option:type_check_strictness:v1': u'DEFAULT_TO_ANY', > u'beam:option:profile_cpu:v1': False, u'beam:option:job_endpoint:v1': > u'localhost:8099', u'beam:option:job_name:v1': > u'BeamApp-goenka-0822071645-48ae1008', u'beam:option:temp_location:v1': > u'gs://clouddfe-goenka/tmp/', u'beam:option:app_name:v1': None, > u'beam:option:project:v1': u'google.com:clouddfe', > u'beam:option:pipeline_type_check:v1': True, > u'beam:option:staging_location:v1': u'gs://clouddfe-goenka/tmp/staging'} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)