title: Spark executor cores not shown in yarn resource manager
body: <p>Yarn resource manager is not showing the total cores for the spark application.
  For example if we are submiting a spark job with 300 executors and executor-cores is 3. So ideally spark having 900 cores but in yarn resource manager only showing 300 cores. </p>
  
  <p>So is this just a display error or is Yarn not seeing the rest of the 600 cores?</p>
  
  <p>Environment: HDP2.2
  Scheduler : capacity-scheduler
  Spark : 1.4.1</p>