GitHub user bouk opened a pull request:

    https://github.com/apache/spark/pull/620

    Reset the thread classLoader in the Mesos Executor

    This is because Mesos calls it with a different environment or something, 
the result is that the Spark jar is missing and it can't load classes.
    
    This fixes 
http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-ClassNotFoundException-spark-on-mesos-td3510.html
    
    I have no idea whether this is the right fix, I can only confirm that it 
fixes the issue for us.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Shopify/spark mesos-classloader-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/620.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #620
    
----
commit 40cd573f5b07fb6a1d00758be000b3f1938118be
Author: Bouke van der Bijl <[email protected]>
Date:   2014-05-02T19:43:14Z

    Reset the thread classLoader in the Mesos Executor
    
    This is because Mesos calls it with a different environment or
    something, the result is that the Spark jar is missing and it can't load
    classes.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to