[BUG] NoClassDefFoundError for spark-avro when the Plugin is deployed via extraClassPath/driver-class-path #5758
Labels
bug
Something isn't working
reliability
Features to improve reliability or bugs that severly impact the reliability of the plugin
Describe the bug
Plugin crashes with
java.lang.NoClassDefFoundError: org/apache/spark/sql/v2/avro/AvroScan
when the Plugin jar(s) are deployed using extraClassPath instead of--jars
or--packages
Spark submit optionsSteps/Code to reproduce bug
Invoke pyspark with
--driver-class-path
:Expected behavior
Should work just like
--jars
pyspark --jars dist/target/rapids-4-spark_2.12-22.08.0-SNAPSHOT-cuda11.jar \ --packages org.apache.spark:spark-avro_2.12:3.2.1 \ --conf spark.rapids.sql.enabled=true \ --conf spark.plugins=com.nvidia.spark.SQLPlugin
which loads the Plugin and Avro correctly
Environment details (please complete the following information)
any
Additional context
N/A
The text was updated successfully, but these errors were encountered: