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

Avoid loading and printing properties file content frequently

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Deploy
    • None

    Description

      When I use -v | -verbos in spark-submit, there prints lots of message about contents in properties file.
      After checking code in SparkSubmit.scala and SparkSubmitArguments.scala, I found the "getDefaultSparkProperties" method is invoked in three places, and every time we invoke it, we load properties from properties file, and print again if option -v used.

      We might should use a value instead of method when we use default properties.

      Attachments

        1. too many verbose.txt
          3 kB
          Tao Wang

        Issue Links

          Activity

            People

              WangTaoTheTonic Tao Wang (Inactive)
              WangTaoTheTonic Tao Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: