Accumulators aren't related directly to RDDs or Datasets. They're a separate construct. You can imagine updating accumulators in any distributed operation that you see documented for RDDs or Datasets.
On Wed, Jan 18, 2017 at 2:16 PM Hanna Mäki <hanna.m...@comptel.com> wrote: > Hi, > > The documentation > (http://spark.apache.org/docs/latest/programming-guide.html#accumulators) > describes how to use accumulators with RDDs, but I'm wondering if and how I > can use accumulators with the Dataset API. > > BR, > Hanna > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Accumulators-and-Datasets-tp28317.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > >