title: spark-submit config through file
body: <p>I am trying to deploy spark job by using <code>spark-submit</code> which has bunch of parameters like </p>
  
  <p><code>spark-submit --class Eventhub --master yarn --deploy-mode cluster --executor-memory 1024m --executor-cores 4 --files app.conf spark-hdfs-assembly-1.0.jar --conf "app.conf"</code></p>
  
  <p>I was looking a way to put all these flags in file to pass to <code>spark-submit</code> to make my <code>spark-submit</code> command simple liek this </p>
  
  <p><code>spark-submit --class Eventhub --master yarn --deploy-mode cluster --config-file my-app.cfg --files app.conf spark-hdfs-assembly-1.0.jar --conf "app.conf"</code></p>
  
  <p>anyone know if this is possible ?</p>