You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ferenc Erdelyi (Jira)" <ji...@apache.org> on 2026/03/18 09:59:00 UTC
[jira] [Created] (YARN-11939) UT TestAuxServices breaking on Clover
Ferenc Erdelyi created YARN-11939:
-------------------------------------
Summary: UT TestAuxServices breaking on Clover
Key: YARN-11939
URL: https://issues.apache.org/jira/browse/YARN-11939
Project: Hadoop YARN
Issue Type: Bug
Reporter: Ferenc Erdelyi
Disable OpenClover for hadoop-yarn-server-nodemanager, as OpenClover implementation in the UT TestAuxServices breaks on Java 17 with the following exception:
{code:java}
Caused by: java.lang.IllegalAccessError: failed to access class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$__CLR4_4_1qjgqjgmmuipado from class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$LightService (org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$__CLR4_4_1qjgqjgmmuipado is in unnamed module of loader 'app'; org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$LightService is in unnamed module of loader org.apache.hadoop.util.ApplicationClassLoader @2a31cfba) at org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$LightService.<init>(TestAuxServices.java:171) at org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices$ServiceC.<init>(TestAuxServices.java:244) {code}
Hadoop currently uses clover-maven-plugin.version 4.4.1.
In OpenClover 4.5. Java 17 is experimental as of the latest release:[https://openclover.org/doc/openclover-4.5.2-release-notes.html]
There was an earlier suggestion to use Jacoco instead of Unit Test.
HADOOP-15190 “Use Jacoco to generate Unit Test coverage reports”
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org