avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 徐凡 <timxu...@hotmail.com>
Subject how can I get the index of each record from AvroMapper
Date Fri, 13 Dec 2013 01:57:48 GMT
Hey there,
For each map input: map(SpecificRecord line, AvroCollector<Pair<Text, SpecificRecord>>
collector, Reporter reporter),how can I get the index of each line?
What I'm thinking about doing this is to overwrite the AvroInputFormat, AvroRecordReader.
Anyone has an idea on this?
Thanks and Regards,Fan 		 	   		  
View raw message