I am submitting spark application on YARN with following configs
conf.set("spark.executor.cores", "3")
conf.set("spark.executor.memory", "14g")
conf.set("spark.executor.instances", "4")
conf.set("spark.driver.cores", "5")
conf.set("spark.driver.memory", "1g")
But, On YARN Resource manager UI it's showing vCores used = 5, I am expecting vCores used to be 17 ((4x3)+5=17) i.e 12 for executor and 5 for driver.
but it's always showing equal to executors+driver=5.
Please help me understand this! Thanks in advance