Not right now (at home)
But it is an NPE coming from addJar usage from SparkContext init ... I will
need to dig into why that is happening.
But that is decoupled from this fix ... Since users can add jar incorrectly
with null as param, it solves that here while allowing examples to run on
yarn.

Regards
Mridul
On May 17, 2013 12:03 AM, "Reynold Xin" <notifications@github.com> wrote:

> In core/src/main/scala/spark/SparkContext.scala:
>
> > @@ -537,6 +537,8 @@ class SparkContext(
> >     * filesystems), or an HTTP, HTTPS or FTP URI.
> >     */
> >    def addJar(path: String) {
> > +    // weird - debug why this is happening.
>
> Do you have a stack trace on when this happens?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mesos/spark/pull/614/files#r4261491>
> .
>