Hey,

You can use spark-shell -i sparkrc, to do this.

Prashant Sharma




On Wed, Sep 3, 2014 at 2:17 PM, Jianshi Huang <jianshi.hu...@gmail.com>
wrote:

> To make my shell experience merrier, I need to import several packages,
> and define implicit sparkContext and sqlContext.
>
> Is there a startup file (e.g. ~/.sparkrc) that Spark shell will load when
> it's started?
>
>
> Cheers,
> --
> Jianshi Huang
>
> LinkedIn: jianshi
> Twitter: @jshuang
> Github & Blog: http://huangjs.github.com/
>

Reply via email to