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()
openConnection
protected static org.apache.hadoop.hdfs.DistributedFileSystem openConnection(java.lang.String urlString)
throws java.net.URISyntaxException,
java.io.IOException
- Throws:
java.net.URISyntaxException
java.io.IOException
closeConnection
protected static boolean closeConnection(org.apache.hadoop.hdfs.DistributedFileSystem dfs)
main
public static void main(java.lang.String[] args)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.