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

ArtifactManager follow-up: better/lighter registration logic during cloning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • Connect, SQL
    • None

    Description

      In https://github.com/apache/spark/pull/48320 the `ArtifactManager.clone` method, we re-register all existing artifacts with new Session UUID to the new SparkContext. This current logic is a bit heavy and unnecessary because all artifacts are already in place and have passed all necessary checks.
      Ideally, we want to modify the SparkContext.addedJars map directly to insert these artifacts with new session UUIDs - or something that is lightweight.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xupaddy Pengfei Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: