Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-10986][MESOS] Set the context class loader in the Mesos execut…
…or backend. See [SPARK-10986](https://issues.apache.org/jira/browse/SPARK-10986) for details. This fixes the `ClassNotFoundException` for Spark classes in the serializer. I am not sure this is the right way to handle the class loader, but I couldn't find any documentation on how the context class loader is used and who relies on it. It seems at least the serializer uses it to instantiate classes during deserialization. I am open to suggestions (I tried this fix on a real Mesos cluster and it *does* fix the issue). tnachen andrewor14 Author: Iulian Dragos <[email protected]> Closes apache#9282 from dragos/issue/mesos-classloader.
- Loading branch information