What's the difference and relation between --executor-cores and -devices in CPU mode?
I know --executor-cores is the param of spark-submit to specify the cpu cores per executor .But in CLI tutorial also says -devices is the number of devices (CPU or GPU) per executor,default 1. I want to know what's the difference and relation between them. Besides,in here I know the --executor-cores must to be 1,if the -devices has been set to 1 by default ,why should I still specify the --executor-cores explicitly? Looking forward to your guidance,thanks!
-devices is number of GPU devices per executor. it has no effects in the CPU mode.
@dawuchen Why "--executor-cores" must to be 1 in cpu mode ? Can I make a executor use more cpus?
@guyang88 You can check about it in Job stuck in reduce phase #189