title: Can I send a whole folder with spark-submit?
body: <p>I know that one can send files through spark-submit with the --files option, but is it also possible to send a whole folder? </p>
  
  <p>Actually I want to send the lib folder, containing jar files of external libraries. Or does the --jars option already make a lib folder on the executor directory? In my case it is necessary, that there is a lib folder, otherwise it would give an error.</p>