org.apache.hadoop.hbase.util
Class CompressionTest
java.lang.Object
org.apache.hadoop.hbase.util.CompressionTest
public class CompressionTest
- extends 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(String codec)
testCompression
public static void testCompression(Compression.Algorithm algo)
throws IOException
- Throws:
IOException
usage
public static void 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
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.