[ 
https://issues.apache.org/jira/browse/IGNITE-22763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Korotkov updated IGNITE-22763:
-------------------------------------
    Labels: ducktests ise  (was: ise)

> [ducktests] Ignore test_cdc_start_stop ducktest for versions before 2.17
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-22763
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22763
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Sergey Korotkov
>            Assignee: Sergey Korotkov
>            Priority: Minor
>              Labels: ducktests, ise
>             Fix For: 2.17
>
>
> Public interface of cdc consumer was changed in IGNITE-21156
> MetricRegistry class used in consumer's start(MetricRegistry mreg) method was 
> moved to different package. So cdc consumer built against master can not be 
> injected into cdc node of old version. The following exception is raised:
> {noformat}
> [2024-07-17T05:52:43,255][ERROR][Thread-1][] Cdc error
> java.lang.NoClassDefFoundError: org/apache/ignite/metric/MetricRegistry
>         at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_181]
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) 
> ~[?:1.8.0_181]
>         at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_181]
>         at 
> org.apache.ignite.internal.processors.resource.GridResourceIoc$ClassDescriptor.<init>(GridResourceIoc.java:294)
>  ~[ignite-core-2.15.0.jar:2.15.0]
>         at 
> org.apache.ignite.internal.processors.resource.GridResourceIoc.descriptor(GridResourceIoc.java:147)
>  ~[ignite-core-2.15.0.jar:2.15.0]
>         at 
> org.apache.ignite.internal.processors.resource.GridResourceProcessor.inject(GridResourceProcessor.java:273)
>  ~[ignite-core-2.15.0.jar:2.15.0]
>         at 
> org.apache.ignite.internal.processors.resource.GridResourceProcessor.inject(GridResourceProcessor.java:249)
>  ~[ignite-core-2.15.0.jar:2.15.0]
>         at 
> org.apache.ignite.internal.processors.resource.GridResourceProcessor.injectGeneric(GridResourceProcessor.java:230)
>  ~[ignite-core-2.15.0.jar:2.15.0]
>         at org.apache.ignite.internal.cdc.CdcMain.runX(CdcMain.java:305) 
> ~[ignite-core-2.15.0.jar:2.15.0]
>         at org.apache.ignite.internal.cdc.CdcMain.run(CdcMain.java:266) 
> [ignite-core-2.15.0.jar:2.15.0]
>         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.ignite.metric.MetricRegistry
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
> ~[?:1.8.0_181]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 
> ~[?:1.8.0_181]
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) 
> ~[?:1.8.0_181]
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 
> ~[?:1.8.0_181]
>         ... 11 more
> {noformat}
> Desicion is to ignore test for versions before 2.17



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to