In Hadoop, context.write(key, value) should have a new copy of key and value in context.write().
This is because lots of time, people use
  private final static LongWritable one = new LongWritable(1);
in the mapper class as global variable, and we don't want to reference to it in the LRU cache
which may cause unexpected result.