You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "xinghuayu007 (via GitHub)" <gi...@apache.org> on 2025/07/31 07:38:01 UTC

[I] java.io.FileNotFoundException: libgeos.so.3.10.7 [incubator-gluten]

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

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Using gluten main branch code to build gluten in dynamic mode will success, but use the built gluten package to run will result in fail as follow:
   25/07/31 14:25:57 WARN MetricsSystem: Stopping a MetricsSystem that is not running
   Exception in thread "main" org.apache.gluten.exception.GlutenException: java.io.FileNotFoundException: libgeos.so.3.10.7
   	at org.apache.gluten.jni.JniLibLoader.loadAndCreateLink(JniLibLoader.java:103)
   	at org.apache.gluten.utils.SharedLibraryLoaderCentos7.loadLib(SharedLibraryLoaderCentos7.scala:38)
   	at org.apache.gluten.utils.SharedLibraryLoader$.loadLibWithLinux(SharedLibraryLoader.scala:48)
   	at org.apache.gluten.utils.SharedLibraryLoader$.load(SharedLibraryLoader.scala:42)
   	at org.apache.gluten.backendsapi.velox.VeloxListenerApi.initialize(VeloxListenerApi.scala:198)
   	at org.apache.gluten.backendsapi.velox.VeloxListenerApi.onDriverStart(VeloxListenerApi.scala:118)
   	at org.apache.gluten.backendsapi.SubstraitBackend.onDriverStart(SubstraitBackend.scala:60)
   	at org.apache.gluten.backendsapi.SubstraitBackend.onDriverStart$(SubstraitBackend.scala:44)
   	at org.apache.gluten.backendsapi.velox.VeloxBackend.onDriverStart(VeloxBackend.scala:56)
   	at org.apache.gluten.GlutenDriverPlugin.$anonfun$init$2(GlutenPlugin.scala:67)
   	at org.apache.gluten.GlutenDriverPlugin.$anonfun$init$2$adapted(GlutenPlugin.scala:67)
   	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
   	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
   	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
   	at org.apache.gluten.GlutenDriverPlugin.init(GlutenPlugin.scala:67)
   	at org.apache.spark.internal.plugin.DriverPluginContainer.$anonfun$driverPlugins$1(PluginContainer.scala:53)
   	at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
   	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
   	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
   	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
   	at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
   	at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
   	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
   	at org.apache.spark.internal.plugin.DriverPluginContainer.<init>(PluginContainer.scala:46)
   	at org.apache.spark.internal.plugin.PluginContainer$.apply(PluginContainer.scala:210)
   	at org.apache.spark.internal.plugin.PluginContainer$.apply(PluginContainer.scala:193)
   	at org.apache.spark.SparkContext.<init>(SparkContext.scala:556)
   	at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2690)
   	at org.apache.spark.sql.SparkSession$Builder.$anonfun$getOrCreate$2(SparkSession.scala:959)
   	at scala.Option.getOrElse(Option.scala:189)
   	at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:953)
   	at org.apache.spark.sql.hive.thriftserver.SparkSQLEnv$.init(SparkSQLEnv.scala:54)
   	at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.<init>(SparkSQLCLIDriver.scala:328)
   	at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver$.main(SparkSQLCLIDriver.scala:160)
   	at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver.main(SparkSQLCLIDriver.scala)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
   	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:959)
   	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
   	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
   	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
   	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1047)
   	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1056)
   	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
   Caused by: java.io.FileNotFoundException: libgeos.so.3.10.7
   	at org.apache.gluten.jni.JniLibLoader.moveToWorkDir(JniLibLoader.java:119)
   	at org.apache.gluten.jni.JniLibLoader.loadAndCreateLink(JniLibLoader.java:98)
   	... 46 more
   
   I found libgeos.so.3.10.7 not packaged into gluten-thirdparty-lib-centos-7-x86_64.jar.
   
   I compile the main branch code in linux centos7 using spark3.2.
   
   
   ### Gluten version
   
   _No response_
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL] java.io.FileNotFoundException: libgeos.so.3.10.7 [incubator-gluten]

Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW closed issue #10306: [VL] java.io.FileNotFoundException: libgeos.so.3.10.7
URL: https://github.com/apache/incubator-gluten/issues/10306


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org