<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to create custom hashmap accumulator in spark using java? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-hashmap-accumulator-in-spark-using-java/m-p/242047#M203850</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;I want to create the custom hashmap accumulator in spark for one of my use case. I have already referred and implemented Accumulator as per code is given on below links but not found an end-to-end example for the same. I am trying to do it in java.&lt;BR /&gt;&lt;A href="https://www.brosinski.com/post/extending-spark-accumulators/"&gt;https://www.brosinski.com/post/extending-spark-accumulators/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Problem :&lt;BR /&gt;I want to know, How Can I increment value for each key in the same accumulator within foreach() transformation?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jun 2019 16:27:56 GMT</pubDate>
    <dc:creator>Manus</dc:creator>
    <dc:date>2019-06-08T16:27:56Z</dc:date>
  </channel>
</rss>

