changed IntWritable to LongWritable.