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

Avoid hardcoded configs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.3
    • 3.0.0
    • MLlib, Spark Core
    • 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

            wenxuanguan wenxuanguan
            wenxuanguan wenxuanguan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: