SequenceFile.createWriter - throws FileNotFoundException

2013-02-01 Thread Anbarasan Murthy
The following line in KMeansBSP.java throws the FileNotFoundException SequenceFile.Writer centerWriter = SequenceFile.createWriter(fs, conf, center, VectorWritable.class, NullWritable.class, CompressionType.NONE); I am getting the below exception message when I tried executing

SequenceFileOutputFormat - Custom Type Key Value

2013-02-01 Thread Anbarasan Murthy
By default SequenceFileOutputFormat expects the Input - LongWritable Output - Text I would like to know how to set custom data types for SequenceFileOutputFormat. How can I achieve the below configuration with SequenceFileOutputFormat My mapper/reducer output will be Key - Text Value -

Map Reduce Question

2012-08-17 Thread Anbarasan Murthy
Hi, I have a question in mapreduce api. Would like to know the significance of the following items under jobconf class.ValueGroupingComparator KeyComparator Thanks,Anbu.