title: Spark-shell vs Spark-submit adding jar to classpath issue
body: <p>I'm able to run <code>CREATE TEMPORARY FUNCTION testFunc using jar 'myJar.jar'</code> query in <strong>hiveContext</strong> via <code>spark-shell --jars myJar.jar -i some_script.scala</code>, but I'm not able to run such command via <code>spark-submit --class com.my.DriverClass --jars myJar.jar target.jar</code>.</p>
  
  <p>Am I doing something wrong?</p>