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

SparkContext.addJar with an ivy path should not fail with a custom ivySettings file in non-YARN cluster modes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • Spark Core
    • None

    Description

      SPARK-33084 introduced support for Ivy paths in sc.addJar or Spark SQL ADD JAR. If we use a custom ivySettings file using spark.jars.ivySettings, it is loaded at https://github.com/apache/spark/blob/b26e7b510bbaee63c4095ab47e75ff2a70e377d7/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L1280. However, this file is only accessible on the client machine. In cluster mode, this file is not available on the driver and so addJar fails. SPARK-34472 provides repro steps for the same.

      In SPARK-34472, we decided to restrict the scope of the work to only fix the issue in the YARN resource manager. This fix should also be made to other resource managers which can run in cluster mode.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shardulm Shardul Mahadik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: