Dennis Kubes wrote:
> The indexer uses an ObjectWritable and I am using that trick.  Problem 
> is I need to input and ObjectWritable but output a different object.  
> I will take a look at the hadoop list.

You can view ObjectWritable as an opaque container for any, well, Object 
;). This means that you can produce Objects of whatever class (so long 
as they implement Writable), stuff them into ObjectWritables, and then 
write your own OutputFormat where you unpack them.

Check e.g. SegmentMerger to see how to do this - this is an extreme 
case, because it not only produces different class types on output, but 
also produces many output files.

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



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to