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.https://hadoop.apache.org/docs/current/api/index.html?org/apache/hadoop/mapred/lib/LazyOutputFormat.html
On Tue, Jul 22, 2014 at 10:39 PM, Edward Capriolo <[EMAIL PROTECTED]>