@Override
      public void close() throws IOException {
        scanner.close();
      }
This RegionObserver replaces the values of Puts from one value to another on compaction.
hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/ValueRewritingObserver.java