title: Spark 2.0 set jars
body: <p>I am upgrading to spark 2.0 from 1.6 in a play-scala application and am not quite sure how to set the jar files I want. Previously a SparkConf would be defined and one of the methods I could call was setJars, which allowed me to specify all of the jar files I wanted. Now I am using SparkSession builder to construct my spark conf and spark context and I do not see any similar methods for specifying the jar files? How can I do this?</p>
  
  <p>Here is how I previously created my sparkconf:</p>
  
  <pre><code>val sparkConf = new SparkConf().setMaster(sparkMaster).setAppName(sparkAppName).
    set("spark.yarn.jar", "hdfs:///user/hadoop/spark-assembly-1.6.1-hadoop2.7.2.jar").
    set("spark.eventLog.dir", "hdfs:///var/log/spark/apps").
    set("spark.eventLog.enabled", "true").
    set("spark.executorEnv.JAVA_HOME", "/usr/lib/jvm/jre-1.8.0-openjdk").
    setJars(Seq(
      "ALL JAR FILES LISTED HERE"
    ))
  </code></pre>
  
  <p>What can I do using sparksession builder to accomplish the same thing as "setJars"?</p>