You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matthew Whelan (JIRA)" <ji...@apache.org> on 2015/01/22 20:07:35 UTC

[jira] [Commented] (SPARK-1863) Allowing user jars to take precedence over Spark jars does not work as expected

    [ https://issues.apache.org/jira/browse/SPARK-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288007#comment-14288007 ] 

Matthew Whelan commented on SPARK-1863:
---------------------------------------

Similar issues with the same root cause: ChildExecutorURLClassLoader doesn't quite work right; it violates JVM ClassLoader requirements.

> Allowing user jars to take precedence over Spark jars does not work as expected
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-1863
>                 URL: https://issues.apache.org/jira/browse/SPARK-1863
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: koert kuipers
>            Priority: Minor
>
> See here:
> http://apache-spark-user-list.1001560.n3.nabble.com/java-serialization-errors-with-spark-files-userClassPathFirst-true-td5832.html
> The issue seems to be that within ChildExecutorURLClassLoader userClassLoader has no visibility on classes managed by parentClassLoader because their is no parent/child relationship. What this means that if a class is loaded by userClassLoader and it refers to a class loaded by parentClassLoader you get a NoClassDefFoundError.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org