You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/10/06 06:05:33 UTC

[jira] [Updated] (SPARK-3783) The type parameters for SparkContext.accumulable are inconsistent Accumulable itself

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

Patrick Wendell updated SPARK-3783:
-----------------------------------
    Assignee: Nathan Kronenfeld

> The type parameters for SparkContext.accumulable are inconsistent Accumulable itself
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-3783
>                 URL: https://issues.apache.org/jira/browse/SPARK-3783
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Nathan Kronenfeld
>            Assignee: Nathan Kronenfeld
>            Priority: Minor
>             Fix For: 1.2.0
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> SparkContext.accumulable takes type parameters [T, R] - and passes them to accumulable, in that order.
> Accumulable takes type parameters [R, T].
> So T for SparkContext.accumulable corresponds with R for Accumulable and vice versa.
> Minor, but very confusing.



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