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

Linux file separator is hard coded in DependencyUtils used in deploy process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0, 2.3.1, 2.3.2, 2.4.0
    • 2.3.3, 2.4.1, 3.0.0
    • Deploy
    • None

    Description

      During deployment, while downloading dependencies the code tries to remove multiple copies of the application jar from the driver classpath. The Linux file separator ("/") is hard coded here so on Windows multiple copies of the jar are not removed.

      This has a knock on effect when trying to use elasticsearch-spark as this library does not run if there are multiple copies of the application jar on the driver classpath.

      Attachments

        Activity

          People

            markpavey Mark Pavey
            markpavey Mark Pavey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: