Hi,

 

i'm trying to define my own InputFormat and RecordReader, however I'm
getting a type mismatch error in the createRecordReader method of the
InputFormat class.

 

Here is the inputformat:

 <http://codepad.org/wdr2NqBe> http://codepad.org/wdr2NqBe

 

here is the recordreader:

 <http://codepad.org/9cmY6BjS> http://codepad.org/9cmY6BjS

 

i get the error at the inputformat class line 20: return new
PDFLinkRecordReader();

 

error: type mismatch: cannot convert PDFLinkRecordReader to
RecordReader<DBObject,String>.

How can I fix this problem? I checked the following tutorial:
<http://developer.yahoo.com/hadoop/tutorial/module5.html>
http://developer.yahoo.com/hadoop/tutorial/module5.html

I don't see my mistake.

 

Best regards

 

Reply via email to