You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Stevo Slavić <ss...@gmail.com> on 2014/01/29 16:38:40 UTC

Spark and Scala Worksheet

Hello Apache Spark community,

Am I doing something wrong, or it seems Spark cannot be played with within
Scala Worksheet?

Kind regards,
Stevo Slavic

Re: Spark and Scala Worksheet

Posted by Marek Kolodziej <mk...@gmail.com>.
Hi Stevo,

It shouldn't be possible to run Spark jobs from the Worksheet, because the
Scala REPL is specially modified for the interactive Spark jobs. The Scala
Worksheet is unaware of those changes, which among other things include the
SparkContext, but other things as well.

Marek



On Wed, Jan 29, 2014 at 10:38 AM, Stevo Slavić <ss...@gmail.com> wrote:

> Hello Apache Spark community,
>
> Am I doing something wrong, or it seems Spark cannot be played with within
> Scala Worksheet?
>
> Kind regards,
> Stevo Slavic
>