hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Scheidtmann <jens.scheidtm...@gmail.com>
Subject Re: Types and SequenceFiles
Date Fri, 31 May 2013 16:05:31 GMT
Dear Harsh,


thanks for your answer. Your post talks about the intermediate and final
result types.
These are already configured in my job as:
        job.setOutputKeyClass(IntWritable.class);
        job.setOutputValueClass(IntWritable.class);

My problem was input key and value types, though.
Your post let me look in the right direction. I added

        job.setInputFormatClass(SequenceFileInputFormat.class);

which did the trick.I thought this would be done by the

     SequenceFileAsBinaryInputFormat.addInputPath(jobConf, new
Path(args[i]));

Best regards,

Jens

Mime
View raw message