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

JobArtifactSet is populated with all artifacts if it is not associated with an artifact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 4.0.0
    • 3.5.0, 4.0.0
    • Connect
    • None

    Description

      Consider each artifact type - files/jars/archives. For each artifact type, the following bug exists:

      1. Initialise a `JobArtifactState` with no artifacts added to it.
      2. Create a  `JobArtifactSet` from the `JobArtifactState`.
      3. Add an artifact with the same active `JobArtifactState`.
      4. Create another `JobArtifactSet`

      In the current behaviour, the set created in step 2 contains all the artifacts (through `sc.allAddedFiles` for example) while step 3 contains only the single artifact added in step 3.

      Attachments

        Activity

          People

            vicennial Venkata Sai Akhil Gudesa
            vicennial Venkata Sai Akhil Gudesa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: