[
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312171&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312171
]
ASF GitHub Bot logged work on BEAM-8217:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/19 16:44
Start Date: 13/Sep/19 16:44
Worklog Time Spent: 10m
Work Description: markflyhigh 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-531309678
yes. It's not merged since current precommit failed due to old dataflow
container. I'd like to make test pass first.
----------------------------------------------------------------
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: 312171)
Time Spent: 2h 40m (was: 2.5h)
> 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: 2h 40m
> 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)