List of usage examples for org.apache.hadoop.io.compress.bzip2 Bzip2Factory isNativeBzip2Loaded
public static synchronized boolean isNativeBzip2Loaded(Configuration conf)
From source file:com.facebook.presto.hadoop.TestHadoopNative.java
License:Apache License
@Test public void testNative() { HadoopNative.requireHadoopNative();// w w w . j ava 2 s. co m assertTrue(NativeCodeLoader.isNativeCodeLoaded()); assertTrue(NativeCodeLoader.buildSupportsSnappy()); assertTrue(ZlibFactory.isNativeZlibLoaded(new Configuration())); assertTrue(Bzip2Factory.isNativeBzip2Loaded(new Configuration())); }