Package org.apache.hadoop.hbase.util
Class CompressionTest
java.lang.Object
org.apache.hadoop.hbase.util.CompressionTest
Compression validation test. Checks compression is working. Be sure to run on every node in your
cluster.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Boolean[]
private static final org.slf4j.Logger
protected static org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
doSmokeTest
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String codec) static void
static boolean
testCompression
(String codec) static void
static void
usage()
-
Field Details
-
LOG
-
compressionTestResults
-
path
-
-
Constructor Details
-
CompressionTest
public CompressionTest()
-
-
Method Details
-
testCompression
-
testCompression
- Throws:
IOException
-
usage
-
doSmokeTest
public static void doSmokeTest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String codec) throws Exception - Throws:
Exception
-
main
- Throws:
Exception
-