[ https://issues.apache.org/jira/browse/KAFKA-6277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ewen Cheslack-Postava resolved KAFKA-6277. ------------------------------------------ Resolution: Fixed Fix Version/s: 1.1.0 Issue resolved by pull request 4428 [https://github.com/apache/kafka/pull/4428] > Make loadClass thread-safe for class loaders of Connect plugins > --------------------------------------------------------------- > > Key: KAFKA-6277 > URL: https://issues.apache.org/jira/browse/KAFKA-6277 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 1.0.0, 0.11.0.2 > Reporter: Konstantine Karantasis > Assignee: Konstantine Karantasis > Priority: Blocker > Fix For: 1.1.0, 1.0.1, 0.11.0.3 > > > In Connect's classloading isolation framework, {{PluginClassLoader}} class > encounters a race condition when several threads corresponding to tasks using > a specific plugin (e.g. a Connector) try to load the same class at the same > time on a single JVM. > The race condition is related to calls to method {{defineClass}} which, > contract to {{findClass}}, is not thread safe for classloaders that override > {{loadClass}}. More details here: > https://docs.oracle.com/javase/7/docs/technotes/guides/lang/cl-mt.html -- This message was sent by Atlassian JIRA (v7.6.3#76005)