Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> Fwd: Read specific record from DataFileReader for avro files


Copy link to this message
-
Fwd: Read specific record from DataFileReader for avro files
Hi,

I have avro files that have a number of records in each file, we generate
indexes using Lucene for these files, and now depending upon the index
matches I want to read some specific records from the avro file.

I am using DataFileReader for this, but i am not able to find a way to read
random records. ANy help is much appreciated.