Nathan Kronenfeld created SPARK-3783:
----------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]