[英]Why do we need more executors than number of machines in Spark?
What's the logic behind requesting more executors than machines available in your cluster? 要求执行者多于群集中可用机器的背后的逻辑是什么?
In the ideal situation, we would like to have 1 executor (=1 jvm) at each of our machines, and not few in each machine. 在理想的情况下,我们希望每台计算机上有1个执行器(= 1 jvm),而每台计算机上不少。
If not, then why? 如果没有,那为什么呢?
Thanks in advance 提前致谢
In the ideal situation, we would like to have 1 executor (=1 jvm) at each of our machines, and not few in each machine.
在理想的情况下,我们希望每台计算机上有1个执行器(= 1 jvm),而每台计算机上不少。
Not necessarily. 不必要。 Depending on the amount of available memory and JVM implementation separate virtual machines can be much a better option, in particular to:
根据可用内存量和JVM实现,单独的虚拟机可能是更好的选择,尤其是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.