首页 > 解决方案 > Spark Difference between local and standalone

问题描述

If I run Spark with local[*] and then Standalone later with 2 workers (both workers are referring to the same 1 computer), is there a difference?

标签: apache-spark

解决方案


Standalone you are defining "containers" for the worker and spark master to run in your machine (so you can have n workers and your tasks can be distributed in the JVM of those two workers?) but in local mode you are just running everything in the same JVM in your local machine with n threads.


推荐阅读