Re: Accumulator map

2015-06-07 Thread Akhil Das
​Another approach would be to use a zookeeper. If you have zookeeper running somewhere in the cluster you can simply create a path like */dynamic-list*​ in it and then write objects/values to it, you can even create/access nested objects. Thanks Best Regards On Fri, Jun 5, 2015 at 7:06 PM, Cosmin

Accumulator map

2015-06-05 Thread Cosmin Cătălin Sanda
Hi, I am trying to gather some statistics from an RDD using accumulators. Essentially, I am counting how many times specific segments appear in each row of the RDD. This works fine and I get the expected results, but the problem is that each time I add a new segment to look for, I have to explicit