title: Adding jars to a spark app
body: <p>Current when I run spark-submit I provide a whole bunch to paths of jars followed by the '--jars' option:</p>
  
  <pre><code>./spark\-submit --class "AppName" --master spark://server24:7077 --jars /path1.jar,path2.jar,path3.jar /pathAppName_2.10-1.0.jar arg1 arg2
  </code></pre>
  
  <p>Is there a cleaner way to include the jars files followed by --jar in the command above? </p>
  
  <p>I tried adding them to spark.driver.extraClassPath in spark-defaults.conf but that does not seem to help. Couldn't find anything in the spark documentation otherwise.</p>
  
  <p>Anyone know?</p>