I'm using Spark 2.3 thrift server for Ad-hoc Sql queries. My spark parameters are set as below in spark-defaults.conf file:
spark.executor.memory 24G
spark.executor.cores 40
spark.executor.instances 3
However when I checked the spark web ui,the spark cores were not equal with active tasks as the picture blow shows:
How could the active task nums bigger than the cores allocated? Any ideas? Thanks!