public static class Map extends Mapper<LongWritable, Text, NullWritable, DefaultHCatRecord> {
public void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException {
String[] cols = value.toString().split(",");
DefaultHCatRecord record = new DefaultHCatRecord(3);
record.set(0, Integer.parseInt(cols[0]));
record.set(1, cols[1]);
record.set(2, cols[2]);
context.write(NullWritable.get(), record);
}