Number of workers: 21
Number of executors: 63
Steps to reproduce:
1. Run 4 jobs each with max cores set to 10
2. The first 3 jobs run with 10 each. (30 executors consumed so far)
3. The 4 th job waits even though there are 33 idle executors.
The reason is that a job will not get executors unless
the total number of EXECUTORS in use < the number of WORKERS
If there are executors available, resources should be allocated to the pending job.