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

spark.files.userClassPathFirst does not work in local[*] mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.1.0
    • None
    • Deploy
    • None

    Description

      The parameter "spark.files.userClassPathFirst=true" does not work when using spark-submit with "--master local[3]". In particular, even though my application jar file contains netty-3.9.4.Final, the older version from the spark-assembly jar file is loaded (cf. SPARK-4738). When using the same jars with "--master yarn-cluster" and "spark.yarn.user.classpath.first=true" (cf. SPARK-2996), it works correctly and my bundled classes are used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tgpfeiffer Tobias Pfeiffer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: