incubator-gluten icon indicating copy to clipboard operation
incubator-gluten copied to clipboard

[VL] Can't run spark.plugins=io.glutenproject.GlutenPlugin with release jar

Open ArnavBalyan opened this issue 1 year ago • 4 comments

Backend

VL (Velox)

Bug description

bin/spark-shell
--conf spark.plugins=io.glutenproject.GlutenPlugin
--conf spark.memory.offHeap.enabled=true
--conf spark.memory.offHeap.size=20g
--conf spark.shuffle.manager=org.apache.spark.shuffle.sort.ColumnarShuffleManager
--jars /home/user/gluten-velox-bundle-spark3.3_2.12-1.1.0.jar

Output:

24/06/23 05:27:23 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/gluten-78747346-ee81-43e9-80b1-ccc58bfa49bf/jni/5c51cec7-2a1d-4dd0-a8f9-406f8dc104ed/gluten-4920012601861087064/libvelox.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f0f88d19753, pid=769118, tid=0x00007f100970a700
#
# JRE version: OpenJDK Runtime Environment (8.0_412-b08) (build 1.8.0_412-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.412-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgluten.so+0x30c753]  gluten::Runtime::registerFactory(std::string const&, std::function<gluten::Runtime* (std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)>)+0x23
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/user/spark/hs_err_pid769118.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
bin/spark-shell: line 47: 769118 Aborted                 "${SPARK_HOME}"/bin/spark-submit --class org.apache.spark.repl.Main --name "Spark shell" "$@"

Spark version

Spark-3.3.x

Spark configurations

No response

System information

No response

Relevant logs

No response

ArnavBalyan avatar Jun 23 '24 05:06 ArnavBalyan

Using release available here: https://github.com/apache/incubator-gluten/releases

ArnavBalyan avatar Jun 23 '24 05:06 ArnavBalyan

Also reported here: https://github.com/apache/incubator-gluten/issues/5327 and https://github.com/apache/incubator-gluten/issues/6088

ArnavBalyan avatar Jun 23 '24 05:06 ArnavBalyan

use "--conf spark.plugins=org.apache.gluten.GlutenPlugin" to have a try?

Au-Miner avatar Jul 01 '24 11:07 Au-Miner

same here,Isn't this compatible with centos7?

SeaSand1024 avatar Jul 02 '24 03:07 SeaSand1024

https://github.com/apache/incubator-gluten/issues/5327#issuecomment-2223383863

my7ym avatar Jul 11 '24 16:07 my7ym