WangTaoTheTonic created SPARK-3599:
--------------------------------------

             Summary: Avoid loading and printing properties file content 
frequently
                 Key: SPARK-3599
                 URL: https://issues.apache.org/jira/browse/SPARK-3599
             Project: Spark
          Issue Type: Improvement
          Components: Deploy
            Reporter: WangTaoTheTonic
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to