[
https://issues.apache.org/jira/browse/BEAM-6705?focusedWorklogId=205043&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-205043
]
ASF GitHub Bot logged work on BEAM-6705:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Feb/19 08:25
Start Date: 27/Feb/19 08:25
Worklog Time Spent: 10m
Work Description: mwalenia commented on issue #7939: [BEAM-6705] Fixes
ConcurrentModificationException in RowCoderGenerator
URL: https://github.com/apache/beam/pull/7939#issuecomment-467761151
@reuvenlax Sorry, I force pushed a fix for failing Spotless check. I
reverted the map back to ConcurrentMap.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 205043)
Time Spent: 1h 10m (was: 1h)
> ConcurrentModificationException in ParDoSchemaTest
> --------------------------------------------------
>
> Key: BEAM-6705
> URL: https://issues.apache.org/jira/browse/BEAM-6705
> Project: Beam
> Issue Type: Sub-task
> Components: runner-direct
> Reporter: Michal Walenia
> Assignee: Michal Walenia
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> When ran with Java 11, ParDoSchemaTest.testReadAndWriteMultiOutput,
> testReadAndWrite and testReadAndWriteWithSchemaRegistry
> produce ConcurrentModificationExceptions.
> This is due to change in HashMap.computeIfAbsent method specification:
> {quote}Throws:{{[ConcurrentModificationException|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ConcurrentModificationException.html]}}
> - if it is detected that the mapping function modified this map
> {quote}
> [Full documentation
> here|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html#computeIfAbsent(K,java.util.function.Function)]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)