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

SPARK_{DRIVER|EXECUTOR}_MEMORY is ignored in cluster mode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1, 1.2.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      We only check for these in the spark-class but not in SparkSubmit. For client mode, this is OK because the driver can read directly from these environment variables.

      For cluster mode however, SPARK_EXECUTOR_MEMORY is not set on the node that starts the driver, and SPARK_DRIVER_MEMORY is simply not propagated to the driver JVM.

        Attachments

          Activity

            People

            • Assignee:
              andrewor14 Andrew Or
              Reporter:
              andrewor14 Andrew Or
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: