Jim Kellerman (JIRA) wrote:

New class MapWritable replaces KeyedData and
KeyedDataArrayWritable
There is already a class with this name in Nutch (org.apache.nutch.crawl.MapWritable), which serves basically the
same purpose, only it's able to hold instances of different classes
(both keys and values), and (de)serialize them efficiently. Is
there any chance to merge these two implementations?

Absolutely. When we developed the version for HBase we were unaware
of the Nutch class. When I asked Doug Cutting if he thought our
MapWritable would be useful in Hadoop, he pointed me to the Nutch
class and also suggested using RefllectionUtils, so that, indeed, is
the plan.

Great! I'm pretty familiar with the implementation of this class, if you encounter any issues during the integration, feel free to ask me.


--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply via email to