YARN-276: Capacity Scheduler can hang when submit many jobs concurrently
I adapted the patch to cloudera 4.2.1