Hi RJ,

Spark Shell instantiates a SparkContext for you named "sc".  In other apps,
the user instantiates it themself and can give the variable whatever name
they want, e.g. "spark".

-Sandy


On Mon, Jul 21, 2014 at 8:36 AM, RJ Nowling <rnowl...@gmail.com> wrote:

> Hi all,
>
> The examples listed here
>
> https://spark.apache.org/examples.html
>
> refer to the spark context as "spark" but when running Spark Shell
> uses "sc" for the SparkContext.
>
> Am I missing something?
>
> Thanks!
>
> RJ
>
>
> --
> em rnowl...@gmail.com
> c 954.496.2314
>

Reply via email to