thanks for reply.

I used both command line tool and the api code as below:
       GenericDatumReader datum = new GenericDatumReader();
       DataFileReader reader = new DataFileReader(inFile, datum);
       Schema schema = reader.getSchema();

I guss the problem is with the avro file, I know the file is not written
with avro library.

we are working on some other solutions. thanks!
On Thu, Jul 24, 2014 at 9:18 AM, Doug Cutting <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB