简体   繁体   中英

Why spark environment parameters is not consistent with executors?

I'm running my spark application on EMR. In spark history UI, under the environment tab, spark.executor.instances equals 1 . However, under the executors tab, it shows that there were total 9 executors , including 1 driver.

Why does this happen?

spark.executor.instances this is set to the initial number of core nodes plus the number of task nodes in the cluster.

executors is the number of tasks that each executor can execute in parallel.

This link will help explain the various meanings and options:

Submitting User Applications with spark-submit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM