mutable.HashMap with an overriden, elided toString method.
Allows for assembling a histogram using a Spark Accumulable.
Allows for assembling a histogram using a Spark Accumulable.
When we put (k, v2) into an accumulator that already contains (k, v1), the result will be a HashMap containing (k, v1 + v2).
mutable.HashMap with an overriden, elided toString method. Useful for HistogramParam to avoid the Spark UI printing a bunch of huge HashMap toStrings of intermediate, per-task values.