You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "WangTaoTheTonic (JIRA)" <ji...@apache.org> on 2014/09/19 04:54:34 UTC

[jira] [Created] (SPARK-3599) Avoid loading and printing properties file content frequently

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org