You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a spark session using raydp.init() and I am running running into an issue. I believe the issue stems from passing in spark.driver.extraClassPath into init. When I remove spark.driver.extraClassPath from the config in the code below, the code works with no issues. I want to pass jars into the spark.driver.extraClassPath because I am using jars that require the driver to have access to them.
From my understanding, spark on ray runs in client mode. The documentation on spark.driver.extraClassPath states
Note: In client mode, this config must not be set through the SparkConf directly in your application, because the driver JVM has already started at that point. Instead, please set this through the --driver-class-path command line option or in your default properties file.
I have set spark.driver.extraClassPath in my default properties file but this did not seem to fix the issue.
Is there a way to set spark.driver.extraClassPath before the spark driver JVM starts?
Please let me know if I need to provide more information.
Hi,
I am trying to create a spark session using raydp.init() and I am running running into an issue. I believe the issue stems from passing in spark.driver.extraClassPath into init. When I remove spark.driver.extraClassPath from the config in the code below, the code works with no issues. I want to pass jars into the spark.driver.extraClassPath because I am using jars that require the driver to have access to them.
From my understanding, spark on ray runs in client mode. The documentation on spark.driver.extraClassPath states
I have set spark.driver.extraClassPath in my default properties file but this did not seem to fix the issue.
Is there a way to set spark.driver.extraClassPath before the spark driver JVM starts?
Please let me know if I need to provide more information.
Environment Details
Reproducible Script
Stack Trace
The text was updated successfully, but these errors were encountered: