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

Avoid hardcoded configs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 3.0.0
    • Component/s: MLlib, Spark Core
    • Labels:
      None

      Description

      I found some hardcoded configs as below:

      spark.executor.heartbeatInterval

      spark.jars

      spark.files

      spark.kryoserializer.buffer.max

      spark.kryoserializer.buffer

      spark.shuffle.file.buffer

      spark.submit.deployMode

      spark.driver.supervise

      spark.driver.cores

      spark.cores.max

      which should be replaced by declared variable, such as SHUFFLE_FILE_BUFFER_SIZE

       

        Attachments

          Activity

            People

            • Assignee:
              wenxuanguan wenxuanguan
              Reporter:
              wenxuanguan wenxuanguan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: