Skip to content

[GLUTEN-8483][CORE] A stable and universal way to find component files#8486

Merged
zhztheplayer merged 4 commits intoapache:mainfrom
zhztheplayer:wip-comp-fix2
Jan 10, 2025
Merged

[GLUTEN-8483][CORE] A stable and universal way to find component files#8486
zhztheplayer merged 4 commits intoapache:mainfrom
zhztheplayer:wip-comp-fix2

Conversation

@zhztheplayer
Copy link
Member

#8483

Use ClassLoader.getResources for the discovery of the component files instead of reading system property java.class.path. The new way will be suitable for more scenarios including cases that class loader is customized or Gluten Jar file is not loaded with regular -cp JVM argument.

@github-actions github-actions bot added the CORE works for Gluten Core label Jan 9, 2025
@github-actions
Copy link

github-actions bot commented Jan 9, 2025

#8483

@github-actions
Copy link

github-actions bot commented Jan 9, 2025

Run Gluten Clickhouse CI on x86

@zhztheplayer
Copy link
Member Author

@gleonSun Would you like to help me test this PR to see if it could solve #8462 as well? Thanks!

@github-actions
Copy link

github-actions bot commented Jan 9, 2025

Run Gluten Clickhouse CI on x86

@zhztheplayer zhztheplayer changed the title [GLUTEN-8483][CORE] A stabler way to discover components [GLUTEN-8483][CORE] A stable and universal way to discover components Jan 9, 2025
@github-actions
Copy link

github-actions bot commented Jan 9, 2025

Run Gluten Clickhouse CI on x86

@github-actions
Copy link

github-actions bot commented Jan 9, 2025

Run Gluten Clickhouse CI on x86

@zhztheplayer zhztheplayer changed the title [GLUTEN-8483][CORE] A stable and universal way to discover components [GLUTEN-8483][CORE] A stable and universal way to find component files Jan 9, 2025
@gleonSun
Copy link
Contributor

gleonSun commented Jan 10, 2025

@gleonSun Would you like to help me test this PR to see if it could solve #8462 as well? Thanks!

@zhztheplayer hii, it works in my case.

Copy link
Contributor

@gleonSun gleonSun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhztheplayer
Copy link
Member Author

@gleonSun Would you like to help me test this PR to see if it could solve #8462 as well? Thanks!

@zhztheplayer hii, it works in my case.

Sure, will merge. Thank you for helping verify the change!

@zhztheplayer zhztheplayer merged commit bdc0fbf into apache:main Jan 10, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants