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

Removing old LEGACY_DRIVER_IDENTIFIER ("<driver>")

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Spark Core
    • Labels:
    • Target Version/s:
    • Docs Text:
      The executor ID for the driver has been "driver" rather than "<driver>" since Spark 1.5. Spark 3 no longer uses or recognizes this ID for the driver.

      Description

      For legacy reasons LEGACY_DRIVER_IDENTIFIER was checked for a few places along with the new DRIVER_IDENTIFIER ("driver") to decided whether a driver is running or an executor.

      The new DRIVER_IDENTIFIER ("driver") was introduced in spark version 1.4. So I think we have a chance to get rid of  the LEGACY_DRIVER_IDENTIFIER.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shivusondur@gmail.com Shivu Sondur
                Reporter:
                attilapiros Attila Zsolt Piros
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: