title: Multiple Spark Applications at same time , same Jarfile... Jobs are in waiting status
body: <p>Spark/Scala noob here.</p>
  
  <p>I am running spark in a clustered environment.  I have two very similar apps (each with unique spark config and context).  When I try and kick them both off the first seems to grab all resources and the second will wait to grab resources.  I am setting resource on the submit but it doesn't seem to matter.  Each node has 24 cores and 45 gb memory available for use.  Here are the two commands I am using to submit that I want to run in parallel.</p>
  
  <pre><code>./bin/spark-submit --master spark://MASTER:6066 --class MainAggregator --conf spark.driver.memory=10g --conf spark.executor.memory=10g --executor-cores 3 --num-executors 5 sparkapp_2.11-0.1.jar -new
  
  ./bin/spark-submit --master spark://MASTER:6066 --class BackAggregator --conf spark.driver.memory=5g --conf spark.executor.memory=5g --executor-cores 3 --num-executors 5 sparkapp_2.11-0.1.jar 01/22/2020 01/23/2020
  </code></pre>
  
  <p>Also I should note that the second App does kick off but in the master monitoring webpage I see it as "Waiting" and it will have 0 cores until the first is done.  The apps do pull from the same tables, but will have much different data chunks that they are pulling so the RDD/Dataframes are unique if that makes a difference.</p>
  
  <p>What am I missing in order to run these at the same time?     </p>