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

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

    [ https://issues.apache.org/jira/browse/SPARK-3599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140896#comment-14140896 ] 

Apache Spark commented on SPARK-3599:
-------------------------------------

User 'WangTaoTheTonic' has created a pull request for this issue:
https://github.com/apache/spark/pull/2454

> 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
>         Attachments: too many verbose.txt
>
>
> 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