[ https://issues.apache.org/jira/browse/BEAM-8442?focusedWorklogId=336956&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-336956 ]
ASF GitHub Bot logged work on BEAM-8442: ---------------------------------------- Author: ASF GitHub Bot Created on: 31/Oct/19 17:56 Start Date: 31/Oct/19 17:56 Worklog Time Spent: 10m Work Description: ibzib commented on issue #9842: [BEAM-8442] Remove duplicate code for bundle register in Python SDK harness URL: https://github.com/apache/beam/pull/9842#issuecomment-548496295 I think this PR is causing [beam_PostCommit_XVR_Flink](https://builds.apache.org/job/beam_PostCommit_XVR_Flink/) to fail ([BEAM-8521](https://issues.apache.org/jira/browse/BEAM-8521)). (There are two test failures; this PR seems related to the failure in `test_java_expansion_portable_runner`.) Example stack trace: ``` 11:13:37 File "/usr/local/lib/python2.7/site-packages/apache_beam/runners/worker/sdk_worker.py", line 311, in get 11:13:37 self.fns[bundle_descriptor_id],11:13:37 KeyError: u'1-37' ``` I suspect the reason is that this PR changed the `register` instruction call from synchronous to asynchronous. ---------------------------------------------------------------- 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: 336956) Time Spent: 1h 10m (was: 1h) > Unfiy bundle register in Python SDK harness > ------------------------------------------- > > Key: BEAM-8442 > URL: https://issues.apache.org/jira/browse/BEAM-8442 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-harness > Reporter: sunjincheng > Assignee: sunjincheng > Priority: Major > Fix For: 2.18.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > There are two methods for bundle register in Python SDK harness: > `SdkHarness._request_register` and `SdkWorker.register.` It should be unfied. -- This message was sent by Atlassian Jira (v8.3.4#803005)