static void initLeaseCounting() {
    compressorCounts = createCache();
    decompressorCounts = createCache();
  }
Call if you want lease counting to be enabled. Only used in unit tests.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/CodecPool.java