aggregateknowledge / java-hll

Java library for the HyperLogLog algorithm
http://research.neustar.biz/2013/12/24/open-source-release-java-hll/
Apache License 2.0
313 stars 71 forks source link

Unable to Serialize HLL ? #22

Open rohancs opened 7 years ago

rohancs commented 7 years ago

I am playing around with your cardinality libraries which i'd like to wrap in a map/reduce paradigm and plug into various compute platforms out there....hence chose Adaptive HLL which has a merge method on it....

I'd also like to save the object with its state on disk so that the compute/query platforms can interpret these computed objects and answer questions (instead of flowing raw event data again)...But i am unable to serialize the Adaptive Hyperloglog object. Was this intentionally left out?

There is not much documentation - but the library seems quite clean and seems like a potential fit for what i have in mind...can you please help?

Thanks, Rohan

rlemaitre commented 7 years ago

Hi,

I had the same problem with serialization. That's the reason i created the pull request #21. I currently use it with Spark and so far, i have no problem

Raph

rohancs commented 7 years ago

This is great ! thanks @rlemaitre .... let me give it a try...

itismewxg commented 6 years ago

will it get merged?