-
Notifications
You must be signed in to change notification settings - Fork 453
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
[CH] Gluten failed to load META-INF, causing abnormal execution #8462
Comments
@gleonSun Thanks for reporting! Would you like to post the classpath, namely the value of |
@zhztheplayer hi |
Thanks for the detailed explanation. So gluten's compiled classes and shared libraries are included directedly into |
Exactly |
I see. Before #8271 we use standard service file |
Backend
CH (ClickHouse)
Bug description
[Expected behavior]
Gluten can load the required Components and Backend, and function normally.
[actual behavior]
Gluten failed to load the required Components and Backend during initialization, resulting in abnormal execution.
RootCause
The
ResourceUtil#getResources(java.util.regex.Pattern)
method loads META-INF from thejava.class.path
, but it might not be the META-INF from the project's corresponding resource directory. For example, when other projects reference Gluten, it retrieves the META-INF from their resource directories instead, which does not align with expectations.Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
The text was updated successfully, but these errors were encountered: