[
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312210&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312210
]
ASF GitHub Bot logged work on BEAM-8217:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/19 17:55
Start Date: 13/Sep/19 17:55
Worklog Time Spent: 10m
Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217]
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531332056
My investigation is re-creating a dataflow worker would solve Precommit
problem.
From
[here](https://github.com/apache/beam/blob/release-2.16.0/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py#L947),
dataflow job used to use an image with `beam-master-20190802` tag as a default
image, but after we change version from `2.16.0.dev` to `2.16.0` at
`version.py`, it uses the one with `2.16.0` tag and now cannot find this image.
How about just try to create a new image from release branch with `2.16.0`
tag and upload to gcr?
----------------------------------------------------------------
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: 312210)
Time Spent: 3.5h (was: 3h 20m)
> py3 sdk harness status server does not print thread stack
> ---------------------------------------------------------
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: Ankur Goenka
> Priority: Blocker
> Fix For: 2.16.0
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> The calls are failing with
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
> File "/usr/lib/python3.6/socketserver.py", line 320, in
> _handle_request_noblock
> self.process_request(request, client_address)
> File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
> File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
> File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
> File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
> File "a.py", line 70, in do_GET
> self.wfile.write(line)
> File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'
--
This message was sent by Atlassian Jira
(v8.3.2#803003)