You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by AlexModestov <Al...@gmail.com> on 2016/04/11 11:22:24 UTC

spark.driver.extraClassPath and export SPARK_CLASSPATH

Hello, I've started to use Spark 1.6.1 before I used Spark 1.5.
I included the string export
SPARK_CLASSPATH="/SQLDrivers/sqljdbc_4.2/enu/sqljdbc41.jar" when I launched
pysparkling and it worked well.
But in version 1.6.1 there is an error that it's deprecated and I had to use
spark.driver.extraClassPath.
OK, there is the string spark.driver.extraClassPath
/SQLDrivers/sqljdbc_4.2/enu/sqljdbc41.jar in spark-defaults.conf but Spark
says that there is no suitable driver for working with SQL Server.




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/spark-driver-extraClassPath-and-export-SPARK-CLASSPATH-tp26740.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: spark.driver.extraClassPath and export SPARK_CLASSPATH

Posted by AlexModestov <Al...@gmail.com>.
I wrote in "spark-defaults.conf" spark.driver.extraClassPath '/dir'
or "PYSPARK_DRIVER_PYTHON=ipython PYSPARK_DRIVER_PYTHON_OPTS="notebook"
/.../sparkling-water-1.6.1/bin/pysparkling \ --conf
spark.driver.extraClassPath='/.../sqljdbc41.jar'
Nothing works....



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/spark-driver-extraClassPath-and-export-SPARK-CLASSPATH-tp26740p26774.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org