public static Decompressor getDecompressor(CompressionCodec codec) {
    Decompressor decompressor = borrow(DECOMPRESSOR_POOL, codec
        .getDecompressorType());
    if (decompressor == null) {
      decompressor = codec.createDecompressor();
      LOG.info("Got brand-new decompressor");
    } else {
      LOG.debug("Got recycled decompressor");
    }
    return decompressor;
  }
Get a {@link Decompressor} for the given {@link CompressionCodec} from the
pool or a new one.

@param codec
         the <code>CompressionCodec</code> for which to get the
         <code>Decompressor</code>
@return <code>Decompressor</code> for the given
        <code>CompressionCodec</code> the pool or a new one
ql/src/java/org/apache/hadoop/hive/ql/io/CodecPool.java