Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Hadoop Indexing CLI for versions JDK v9+ #17574

Open
jtuglu-netflix opened this issue Dec 16, 2024 · 0 comments · May be fixed by #17569
Open

Fix Hadoop Indexing CLI for versions JDK v9+ #17574

jtuglu-netflix opened this issue Dec 16, 2024 · 0 comments · May be fixed by #17569

Comments

@jtuglu-netflix
Copy link
Contributor

jtuglu-netflix commented Dec 16, 2024

Affected Versions

All Druid versions which allow JDK v9+

Description

For JDK v9+ this job will fail as URLClassloader is no longer the default classloader. Additionally, with the introduction of the jmod system, the job failed to find the correct JDK-included modules because the new classloader constructed for the job didn't reference the system classloader. Adding ClassLoader.getSystemClassLoader() as the parent classloader fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant