Question: what is executor in yarn?
Answer: 1. 11. Number of executors is the number of distinct yarn containers (think processes/JVMs) that will execute your application. Number of executor-cores is the number of threads you get inside each executor (container).