Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1863

Allowing user jars to take precedence over Spark jars does not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 1.0.0
    • None
    • Spark Core

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              koert koert kuipers
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: