title: CDH4.2.0 Unable to set HBase Compression
body: <p>Since we've updated our installation of CDH4.1.2 to CDH4.2.0 we're no longer able to create new tables with enabled compression.
  We were using SNAPPY Compression successfully before.
  Now when we try to execute a create statement like: </p>
  
  <pre><code>create 'tableWithCompression', {NAME =&gt; 't1', COMPRESSION =&gt; 'SNAPPY'}
  </code></pre>
  
  <p>an error occurs:</p>
  
  <pre><code>ERROR: Compression SNAPPY is not supported. Use one of LZ4 SNAPPY LZO GZ NONE
  </code></pre>
  
  <p>We realized that other compression algorithms weren't found either: e.g. same problem with 'GZ'.</p>
  
  <pre><code>ERROR: Compression GZ is not supported. Use one of LZ4 SNAPPY LZO GZ NONE
  </code></pre>
  
  <p>We've added 
  "export HBASE_LIBRARY_PATH=/usr/lib/hadoop/lib/native/"
  to hbase-env.sh.</p>
  
  <p>Unfortunately this did not fix our problem.</p>
  
  <p>What else can we try?</p>