Hi Ashok, In local mode all the processes run inside a single jvm, whereas in standalone mode we have separate master and worker processes running in their own jvms.
To quickly test your code from within your IDE you could probable use the local mode. However, to get a real feel of how Spark operates I would suggest you to have a standalone setup as well. It's just the matter of launching a standalone cluster either manually(by starting a master and workers by hand), or by using the launch scripts provided with Spark package. You can find more on this *here* <http://spark.apache.org/docs/latest/spark-standalone.html>. HTH [image: http://] Tariq, Mohammad about.me/mti [image: http://] <http://about.me/mti> On Sat, Jun 11, 2016 at 11:38 PM, Ashok Kumar <ashok34...@yahoo.com.invalid> wrote: > Hi, > > What is the difference between running Spark in Local mode or standalone > mode? > > Are they the same. If they are not which is best suited for non prod work. > > I am also aware that one can run Spark in Yarn mode as well. > > Thanks >