spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-3783) The type parameters for SparkContext.accumulable are inconsistent Accumulable itself
Date Mon, 06 Oct 2014 04:05:33 GMT

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

Patrick Wendell resolved SPARK-3783.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

https://github.com/apache/spark/pull/2637

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


Mime
View raw message