-Re: Cannot write the output of the reducer to a sequence file
Harsh J 2013-07-29, 16:04
Can you explain the problem you actually face in trying to run the
above setup? Do you also set your reducer output types?
On Mon, Jul 29, 2013 at 4:48 PM, Pavan Sudheendra <[EMAIL PROTECTED]> wrote:
> I have a Map function and a Reduce funtion outputting kep-value pairs
> of class Text and IntWritable.. This is just the gist of the Map part
> in the Main function :
> tablename, // input HBase table name
> scan, // Scan instance to control CF and attribute selection
> AnalyzeMapper.class, // mapper
> Text.class, // mapper output key
> IntWritable.class, // mapper output value
> And here's my Reducer part in the Main function which writes the output to HDFS
> FileOutputFormat.setOutputPath(job, new
> How do i make the reducer write to a Sequence File instead?
> I've tried the following code but doesn't work
> SequenceFileOutputFormat.setOutputPath(job, new
> Any help appreciated!