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

[k8s] On Spark 3, jars listed in spark.jars and spark.jars.packages are not added to sparkContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.2, 3.1.1
    • 3.4.0
    • Kubernetes
    • None

    Description

      I'm trying to migrate spark 2 to spark 3 in k8s.

       

      In my environment, on Spark 3.x, jars listed in spark.jars and spark.jars.packages are not added to sparkContext.

      After driver's process is launched, jars are not propagated to Executors. So, NoClassDefException is raised in executors.

       

      In spark.properties, the only main application jar is contained in spark.jars. It is different from Spark 2.

       

      How to solve this situation? Is it any changed spark options in spark 3 from spark 2?

      Attachments

        Issue Links

          Activity

            People

              ocworld Keunhyun Oh
              ocworld Keunhyun Oh
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: