YARN-11931. Fix router webapp tests by adding EclipseLink test dependency.#8261
Merged
slfan1989 merged 2 commits intoapache:trunkfrom Feb 22, 2026
Merged
YARN-11931. Fix router webapp tests by adding EclipseLink test dependency.#8261slfan1989 merged 2 commits intoapache:trunkfrom
slfan1989 merged 2 commits intoapache:trunkfrom
Conversation
…ency. After upgrading to Jersey 2.46, TestRouterWebServicesREST and TestFederationWebApp fail with NoClassDefFoundError for org.eclipse.persistence.internal.queries.ContainerPolicy. This patch adds org.eclipse.persistence:org.eclipse.persistence.core as a test dependency in hadoop-yarn-server-router/pom.xml. Additionally, fixed a classpath concatenation bug in JavaProcess.java where File.pathSeparator was missing when appending test resources path. Test Results: - TestRouterWebServicesREST: 42 tests passed - TestFederationWebApp: 52 tests passed
|
💔 -1 overall
This message was automatically generated. |
cnauroth
approved these changes
Feb 22, 2026
Contributor
cnauroth
left a comment
There was a problem hiding this comment.
+1. Thank you @slfan1989 .
Contributor
Author
@cnauroth Thank you very much for reviewing the code!
|
|
🎊 +1 overall
This message was automatically generated. |
Contributor
Author
|
@cnauroth The feedback from Yetus meets expectations, and I will merge this PR into the trunk branch. Thanks again for helping with the review! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
YARN-11931. Fix router webapp tests by adding EclipseLink test dependency.
After upgrading to Jersey
2.46,TestRouterWebServicesRESTandTestFederationWebAppfail withNoClassDefFoundError for org.eclipse.persistence.internal.queries.ContainerPolicy.This patch adds
org.eclipse.persistence:org.eclipse.persistence.coreas a test dependency inhadoop-yarn-server-router/pom.xml.Additionally, fixed a classpath concatenation bug in
JavaProcess.javawhere File.pathSeparator was missing when appending test resources path.Test Results:
How was this patch tested?
Exists Junit Test.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?AI Tooling
If an AI tool was used:
where is the name of the AI tool used.
https://www.apache.org/legal/generative-tooling.html