XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.7
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vincentye38 vincent ye
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: