You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "vincent ye (JIRA)" <ji...@apache.org> on 2015/12/23 22:39:46 UTC
[jira] [Created] (AVRO-1773) Infinite loop caused by race condition
vincent ye created AVRO-1773:
--------------------------------
Summary: Infinite loop caused by race condition
Key: AVRO-1773
URL: https://issues.apache.org/jira/browse/AVRO-1773
Project: Avro
Issue Type: Sub-task
Components: java
Affects Versions: 1.7.7
Reporter: vincent ye
Priority: Critical
org.apache.avro.LogicalTypes#fromSchemaIgnoreInvalid lookups and update CACHE. CACHE is backed by hashmap without synchronization. In a multithreaded environment, it causes a infinite loop in hashmap lookup. The race condition problem is described in the following blog http://mailinator.blogspot.com/2009/06/beautiful-race-condition.html.
I experience this infinite loop in Spark jobs with high concurrency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)