Albert Chern wrote:
> Hi Mohan,
>
> I think these methods are no longer needed at all because the key
> class and value class are gotten from RecordReader.createKey() and
> RecordReader.createValue().  For the most part you can just remove
> these methods, but I think it might cause an error in the indexer
> where different types are merged.  You might need to do something like
> change createValue() to return an ObjectWritable.  Anyway, I don't
> keep up with Nutch, but I think they're already working on moving
> Nutch to Hadoop 0.7, so it might save you some work.

Yes, please see NUTCH-383 - you can see similar changes have been made 
as a part of patch-v2.txt.

Using these deprecated methods in Hadoop > 0.6 is misleading, because 
AFAIK they are ignored and don't actually set the key/value classes - 
this information is now retrieved from RecordReader methods, as you 
pointed out.

-- 
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