@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class CompressionTest extends Object
Modifier and Type | Field and Description |
---|---|
private static Boolean[] |
compressionTestResults |
private static org.slf4j.Logger |
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.slf4j.Logger LOG
private static final Boolean[] compressionTestResults
protected static org.apache.hadoop.fs.Path path
public CompressionTest()
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.