On Mon, Jun 6, 2016 at 4:22 AM, shengzhixia <shengzhi...@gmail.com> wrote:
> In my previous Java project I can change class loader without problem. Could
> I know why the above method couldn't change class loader in spark shell?
> Any way I can achieve it?

The spark-shell for Scala 2.10 will reset the context class loader
every time you run a statement. Not sure if the 2.11 behavior is the
same (don't see the code in Spark, but it might be in the Scala repl
code).

I'm not sure there is any way to work around it.

-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to