You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/07/30 19:15:05 UTC

[jira] [Resolved] (SPARK-9267) Remove highly unnecessary accumulators stringify methods

     [ https://issues.apache.org/jira/browse/SPARK-9267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-9267.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 7678
[https://github.com/apache/spark/pull/7678]

> Remove highly unnecessary accumulators stringify methods
> --------------------------------------------------------
>
>                 Key: SPARK-9267
>                 URL: https://issues.apache.org/jira/browse/SPARK-9267
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.0
>            Reporter: Andrew Or
>            Priority: Trivial
>             Fix For: 1.5.0
>
>
> {code}
> def stringifyPartialValue(partialValue: Any): String = "%s".format(partialValue)
> def stringifyValue(value: Any): String = "%s".format(value)
> {code}
> These are only used in 1 place (DAGScheduler). The level of indirection actually makes the code harder to read without an editor. We should just inline them...



--
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