ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Pudov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9872) [Test falied] IgniteSinkConnectorTest.testSinkPutsWithoutTransformation
Date Fri, 12 Oct 2018 13:45:00 GMT
Maxim Pudov created IGNITE-9872:
-----------------------------------

             Summary: [Test falied] IgniteSinkConnectorTest.testSinkPutsWithoutTransformation
                 Key: IGNITE-9872
                 URL: https://issues.apache.org/jira/browse/IGNITE-9872
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.7
            Reporter: Maxim Pudov
             Fix For: 2.8


Test started failing after updating kafka https://issues.apache.org/jira/browse/IGNITE-9126

There is an issue with classloading in kafka https://issues.apache.org/jira/browse/KAFKA-6914,
which was fixed but wasn't included to any public releases yet.

It can be fixed in our test by replacing system class loader in org.apache.ignite.stream.kafka.connect.IgniteSinkConnectorTest#beforeTest:

Field scl = ClassLoader.class.getDeclaredField("scl"); // Get system class loader
scl.setAccessible(true); // Set accessible
scl.set(null, getClass().getClassLoader());

However, it might be better to wait for kafka 1.1.2 and just update its version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message