title: Read from resources when running Spark in Yarn
body: <p>In my Spark job I read some additional data from resources files.</p>
  
  <p>Some example <code>Resources.getResource("/more-data")</code></p>
  
  <p>It works great locally, and when I run from spark-submit master=local[*] 
  I only to need to add --conf=spark.driver.extraClassPath=moredata.</p>
  
  <p>Moving to cluster mode (Yarn) it is no longer able to find the folder.</p>
  
  <p>I tried spark.yarn.dist.files, without help, maybe I need to add something to that? </p>