Apache Spark: The number of cores vs. the number of executors Apache Spark: The number of cores vs. the number of executors hadoop hadoop