gleonSun opened a new issue, #8462:
URL: https://github.com/apache/incubator-gluten/issues/8462

   ### 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 the `java.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
   
   ```bash
   java.lang.UnsupportedOperationException: empty.reduceLeft
           at 
scala.collection.mutable.ArrayBuffer.scala$collection$IndexedSeqOptimized$$super$reduceLeft(ArrayBuffer.scala:49)
 ~[scala-library-2.12.15.jar:?]
           at 
scala.collection.IndexedSeqOptimized.reduceLeft(IndexedSeqOptimized.scala:77) 
~[scala-library-2.12.15.jar:?]
           at 
scala.collection.IndexedSeqOptimized.reduceLeft$(IndexedSeqOptimized.scala:76) 
~[scala-library-2.12.15.jar:?]
           at 
scala.collection.mutable.ArrayBuffer.reduceLeft(ArrayBuffer.scala:49) 
~[scala-library-2.12.15.jar:?]
           at 
scala.collection.TraversableOnce.reduce(TraversableOnce.scala:254) 
~[scala-library-2.12.15.jar:?]
           at 
scala.collection.TraversableOnce.reduce$(TraversableOnce.scala:254) 
~[scala-library-2.12.15.jar:?]
           at 
scala.collection.AbstractTraversable.reduce(Traversable.scala:108) 
~[scala-library-2.12.15.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.ConventionFunc$$anon$1.<init>(ConventionFunc.scala:78)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.ConventionFunc$.newOverride(ConventionFunc.scala:76)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.ConventionFunc$.create(ConventionFunc.scala:62)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.InsertTransitions.<init>(Transitions.scala:27)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.InsertTransitions$.create(Transitions.scala:71)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.columnar.transition.Transitions$.insert(Transitions.scala:89)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.GlutenColumnarRule.org$apache$gluten$extension$GlutenColumnarRule$$$anonfun$postColumnarTransitions$1(GlutenColumnarRule.scala:100)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.GlutenColumnarRule$$anonfun$postColumnarTransitions$2.apply(GlutenColumnarRule.scala:85)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.GlutenColumnarRule$$anonfun$postColumnarTransitions$2.apply(GlutenColumnarRule.scala:85)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.injector.InjectorControl$Disabler$DisablerOps$$anon$5$$anon$7.apply(InjectorControl.scala:149)
 ~[gluten.jar:?]
           at 
org.apache.gluten.extension.injector.InjectorControl$Disabler$DisablerOps$$anon$5$$anon$7.apply(InjectorControl.scala:144)
 ~[gluten.jar:?]
   ```
   


-- 
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]

Reply via email to