zhztheplayer commented on code in PR #8468:
URL: https://github.com/apache/incubator-gluten/pull/8468#discussion_r1908110775
##########
gluten-core/src/main/scala/org/apache/gluten/component/package.scala:
##########
@@ -37,6 +37,12 @@ package object component extends Logging {
// Output log so user could view the component loading order.
// Call #sortedUnsafe than on #sorted to avoid unnecessary recursion.
val components = Component.sortedUnsafe()
+ require(
+ components.nonEmpty,
+ s"No component files found in container directories named with " +
+ s"'META-INF/gluten-components' from classpath. JVM classpath value " +
+ s"is: ${System.getProperty("java.class.path")}"
Review Comment:
Yes, usually it is included. I am investigating on issue
https://github.com/apache/incubator-gluten/issues/8462 so perhaps we shouldn't
rely on `java.class.path` in future. But at his moment this error message is
needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]