I am launching an EMR cluster with m5.xlarge core nodes as follow:
4 vCore, 16 GiB memory, EBS only storage
EBS Storage:200 GiB
I am not sure if I run an Spark Job and setting the executor-core parameter such as 2. If this is exactly the same as vCores in my m5.xlarge instances?
each executor's core will use a vCore in your cluster, hence create either 4 executors with 1 core each or 2 executors with 2 cores each or 1 executor with 4 cores. Enjoy!
AWS defines 1 core as 1vCPU for most instances. I believe that's the same as vCore
"“Each vCPU is a hyper-thread of an Intel Xeon core except for T2.”
In other words, for T2 instances, 1 vCPU = 1 physical core. For all others, 1 vCPU = 1 logical core. This can lead to significant performance differences when it comes to multi-threaded, burst CPU usage."
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.