@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class CompressionTest extends Object
Modifier and Type | Field and Description |
---|---|
private static Boolean[] |
compressionTestResults |
private static org.apache.commons.logging.Log |
LOG |
protected static org.apache.hadoop.fs.Path |
path |
Constructor and Description |
---|
CompressionTest() |
Modifier and Type | Method and Description |
---|---|
static void |
doSmokeTest(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
String codec) |
static void |
main(String[] args) |
static void |
testCompression(Compression.Algorithm algo) |
static boolean |
testCompression(String codec) |
static void |
usage() |
private static final org.apache.commons.logging.Log LOG
private static final Boolean[] compressionTestResults
protected static org.apache.hadoop.fs.Path path
public static boolean testCompression(String codec)
public static void testCompression(Compression.Algorithm algo) throws IOException
IOException
public static void usage()
public static void doSmokeTest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, String codec) throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.