Table of Contents
HBase includes a tool to test compression is set up properly.
To run it, type /bin/hbase org.apache.hadoop.hbase.util.CompressionTest
.
This will emit usage on how to run the tool.
Be aware that the regionserver caches the result of the compression check it runs ahead of each region open. This means that you will have to restart the regionserver for it to notice that you have fixed any codec issues.