Re: add external jars to spark-shell

2014-10-20 Thread Denny Lee
–jar (ADD_JARS) is a special class loading for Spark while –driver-class-path (SPARK_CLASSPATH) is captured by the startup scripts and appended to classpath settings that is used to start the JVM running the driver You can reference https://www.concur.com/blog/en-us/connect-tableau-to-sparksql on

add external jars to spark-shell

2014-10-20 Thread Chuang Liu
Hi: I am using Spark 1.1, and want to add an external jars to spark-shell. I dig around, and found others are doing it in two ways. *Method 1* bin/spark-shell --jars "" --master ... *Method 2* ADD_JARS= SPARK_CLASSPATH= bin/spark-shell --master ... What is the difference between these two m