[
https://issues.apache.org/jira/browse/BEAM-7507?focusedWorklogId=256026&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-256026
]
ASF GitHub Bot logged work on BEAM-7507:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jun/19 16:19
Start Date: 07/Jun/19 16:19
Worklog Time Spent: 10m
Work Description: lukecwik commented on pull request #8789: [BEAM-7507]
Use TextFormat to escape workIds to a string rather than utf8
URL: https://github.com/apache/beam/pull/8789
----------------------------------------------------------------
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: 256026)
Time Spent: 20m (was: 10m)
> StreamingDataflowWorker attempts to decode non-utf8 binary data as utf8
> -----------------------------------------------------------------------
>
> Key: BEAM-7507
> URL: https://issues.apache.org/jira/browse/BEAM-7507
> Project: Beam
> Issue Type: Improvement
> Components: runner-dataflow
> Reporter: Steve Niemitz
> Assignee: Steve Niemitz
> Priority: Trivial
> Fix For: 2.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In StreamingDataflowWorker, when setting the workId for the logging MDC,
> currently the code attempts to decode a binary blob as utf8. This will
> (generally) cause a decoding error, and the java UTF8 decoder uses a globally
> synchronized cache to handle generating these error results.
> A simple solution would be to use the protobuf TextFormat escaping to convert
> the ByteString key into a string.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)