, the map() operation
> re-executed(map(x => accumulator += x) re-executed), then the final result
> of acculumator will be "2", twice as the correct result?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Questions
ew this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Questions-about-Accumulators-tp22746p22747.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-un
e than once if the task restarte? And then the final result
> will be many times of the real result?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Questions-about-Accumulators-tp22746.html
that meas if i use the
> accumulator in transformations(i.e. map() operation), this operation will
> be
> execuated more than once if the task restarte? And then the final result
> will be many times of the real result?
>
>
>
> --
> View this message in context:
&g
peration), this operation will be
execuated more than once if the task restarte? And then the final result
will be many times of the real result?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Questions-about-Accumulators-tp22746.html
Sent from the Apache