简体   繁体   中英

Spark number of cores used by driver

I can set number of cores using spark.driver.cores for driver in case of cluster mode. But how many cores are used in case of client and local mode for driver

If you are running your application locally with master local[*], Here * mention they will use all free cores in your local system and if you are using the local[n], Here n is number of cores you want to use in your application. Its a core which is used by your application in local mode because when you run your application in local driver and executers are started in single JVM.

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