Use: spark-submit --jars /path/sqldriver.jar --conf spark.driver.extraClassPath=sqldriver.jar --conf spark.executor.extraClassPath=sqldriver.jar
In client mode the driver's classpath needs to point to the full path, not just the name. On Wed, Sep 14, 2016 at 5:42 AM, Kevin Tran <kevin...@gmail.com> wrote: > Hi Everyone, > > I tried in cluster mode on YARN > * spark-submit --jars /path/sqldriver.jar > * --driver-class-path > * spark-env.sh > SPARK_DIST_CLASSPATH="$SPARK_DIST_CLASSPATH:/path/*" > * spark-defaults.conf > spark.driver.extraClassPath > spark.executor.extraClassPath > > None of them works for me ! > > Does anyone have Spark app work with driver jar on executors before please > give me your ideas. Thank you. > > Cheers, > Kevin. -- Marcelo --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org