hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omer Trajman" <o...@vertica.com>
Subject RE: Custom Record Reader Example?
Date Tue, 06 Oct 2009 21:37:30 GMT
I found the DBRecordReader a good example - it's in
o.a.h.m.lib.db.DBInputFormat

-----Original Message-----
From: Mark Vigeant [mailto:mark.vigeant@riskmetrics.com] 
Sent: Tuesday, October 06, 2009 5:22 PM
To: common-user@hadoop.apache.org
Subject: Custom Record Reader Example?

Hey-

I'm trying to update a custom recordreader written for 0.18.3 and was
wondering if either

A)     Anyone has any example code for extending RecordReader in 0.20.1
(in the mapreduce package, not the mapred interface)?
or

B)      Anyone can give me tips on how to write getCurrentKey() and
getCurrentValue()?


Thank you so much!

Mark Vigeant
RiskMetrics Group, Inc.


Mime
View raw message