Harsh J harsh@... writes:
Ah, sorry I didn't read the exact problem.
Yes that static call you make to addInputPath goes all the way up to
(inheritance!) FileInputFormat.addInputPath, which just adds input
paths and doesn't automatically imprint itself as the input format
class at the
There is a solution discussed in the mail you've quoted. Did you do
that? Share your code snippets please?
On Fri, Jul 26, 2013 at 5:07 AM, qwerty ninadpha...@gmail.com wrote:
Harsh J harsh@... writes:
Ah, sorry I didn't read the exact problem.
Yes that static call you make to addInputPath
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.
Ah, sorry I didn't read the exact problem.
Yes that static call you make to addInputPath goes all the way up to
(inheritance!) FileInputFormat.addInputPath, which just adds input
paths and doesn't automatically imprint itself as the input format
class at the same time.
On Fri, May 31, 2013 at
Dear list,
I have created a sequence file like this:
seqWriter = SequenceFile.createWriter(fs, getConf(), new
Path(hdfsPath), IntWritable.class, BytesWritable.class,
SequenceFile.CompressionType.NONE);
seqWriter.append(new IntWritable(index++), new BytesWritable(buf));
(with buf a byte
Hi Jens,
Please read this old thread at http://search-hadoop.com/m/WHvZDCfVsD
which covers the issue, the solution and more.
On Fri, May 31, 2013 at 1:39 AM, Jens Scheidtmann
jens.scheidtm...@gmail.com wrote:
Dear list,
I have created a sequence file like this:
seqWriter =