The header is expected to have the full name of the key class and value
class so if it is only detected with the first record (?) indeed the file
can not respect its own format.

I haven't tried it but LazyOutputFormat should solve your problem.


Bertrand Dechoux
Bertrand Dechoux
On Tue, Jul 22, 2014 at 10:39 PM, Edward Capriolo <[EMAIL PROTECTED]>
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