title: spark.driver.cores setting in spark standalone cluster mode
body: <p>I am using Spark Standalone cluster mode and use <code>"spark.driver.cores"</code> to set number of cores for the driver. But every time the UI shows it "0" as shown in the picture <a href="https://i.stack.imgur.com/YzRm7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YzRm7.png" alt="enter image description here"></a></p>
  
  <p>Even setting up this value in the code </p>
  
  <pre><code>.set("spark.driver.cores","14")                                                   
  </code></pre>
  
  <p>does not seem to work. How should this value be set in the standalone cluster mode ? </p>
  
  <p>Thanks
  <strong>===UPDATE===</strong>
  Here is the spark-submit command</p>
  
  <pre><code>        spark-submit --jars "file:///&lt;path to jar&gt;" --master spark://$MASTER:7077 --conf "spark.cores.max=330" 
      --conf "spark.executor.core=5" 
      --conf "spark.sql.broadcastTimeout=10000000" 
      --conf "spark.sql.shuffle.partitions=1000" 
      --conf "spark.default.parallelism=1000"  
      --conf "spark.executor.memory=40g"  
      --conf "spark.driver.memory=40g" 
      --conf "spark.driver.extraJavaOptions=-XX:+UseCompressedOops -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps" 
      --conf "spark.driver.maxResultSize=40g" 
  --conf "spark.network.timeout=10000000" 
  --class "&lt;my class&gt;" "&lt;path to jar&gt;" &lt;other parameters&gt;....
  </code></pre>
  
  <p>Each of the node in the cluster has 24 core and 64GB memory. 
  I hope this helps. Thanks for your help.</p>