@Override
public void map(LongWritable key, Text value, TupleMRContext context, Collector collector)
throws IOException, InterruptedException {
// Just parsing the text input and emitting a Tuple
Tuple tuple = new Tuple(schema);
String[] fields = value.toString().trim().split("\t");
tuple.set("url", fields[0]);
tuple.set("date", fields[1]);
tuple.set("visits", Integer.parseInt(fields[2]));
collector.write(tuple);
}