is there a way to reset spark Accumulator by the driver, so that executors Accumulator will be cleaned as well.
I have an Accumulator which is actually a List> all executors add tuples into the accumulator and the driver reads it. the problem is that executors heap gets filled.
When the driver reads all the data the executors does not need the local data.
thanks