title: Which directory contains third party libraries for Spark
body: <p>When we use </p>
  
  <pre><code>spark-submit
  </code></pre>
  
  <p>which directory contains third party libraries that will be loaded on each of the slaves?  I would like to scp one or more libraries to each of the slaves instead of shipping the contents in the application uber-jar.</p>
  
  <p>Note: I did try adding to</p>
  
  <pre><code>$SPARK_HOME/lib_managed/jars
  </code></pre>
  
  <p>But the <code>spark-submit</code> still results in a <code>ClassNotFoundException</code> for classes included in the added library.</p>