On Wed, Jun 11, 2014 at 1:05 PM, Han, Xiaodan <xiaodan....@baml.com> wrote: > org.apache.avro.specific.SpecificDatumReader.findStringClass(SpecificDatumReader.java:80) > org.apache.avro.generic.GenericDatumReader.getStringClass(GenericDatumReader.java:394)
The result of findStringClass are cached by getStringClass, so there should only be one call per schema used with a GenericDatumReader instance. So, with 22k calls to this method in the samples, perhaps you're either creating a new schema or a new GenericDatumReader per instance read. Could that be possible? Doug