org.apache.hadoop.hbase.util
Class CompressionTest
java.lang.Object
org.apache.hadoop.hbase.util.CompressionTest
public class CompressionTest
- extends java.lang.Object
Compression validation test. Checks compression is working. Be sure to run
on every node in your cluster.
Field Summary |
protected static org.apache.hadoop.fs.Path |
path
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected static org.apache.hadoop.fs.Path path
CompressionTest
public CompressionTest()
testCompression
public static boolean testCompression(java.lang.String codec)
testCompression
public static void testCompression(Compression.Algorithm algo)
throws java.io.IOException
- Throws:
java.io.IOException
usage
public static void usage()
doSmokeTest
public static void doSmokeTest(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
java.lang.String codec)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.