title: understanding spark submit and sys arguments
body: <p>I have a code that I've written which has three input files:</p>
  
  <pre><code>TWEETS_FN = 
  DRUGS_FN = 
  CITIES_FN = 
  </code></pre>
  
  <p>I want to use tweets-100m.csv for the first data input, TWEETS_FN. drug_sched2.txt, drug_illegal.txt for DRUGS_FN input, and finally 500cities_tracts.geojson for the third input, CITIES_FN.</p>
  
  <p>The spark-submit job that I'm supposed to use to make my assignment run is: </p>
  
  <pre><code> spark-submit --conf spark.executorEnv.LD_LIBRARY_PATH=$LD_LIBRARY_PATH --executor-cores 5 --num-executors 10 --py-files ... --files     
   hdfs:///tmp/500cities_tracts.geojson,hdfs:///tmp/drug_sched2.txt,hdfs:///tmp/drug_illegal.txt x.py hdfs:///tmp/tweets-100m.csv
  </code></pre>
  
  <p>Can anyone help me understand the parameters of the command, and how should I read the arguments in my code file?</p>