XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.7.7
    • None
    • java
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: