List of usage examples for org.apache.hadoop.util NativeCodeLoader buildSupportsSnappy
public static native boolean buildSupportsSnappy();
From source file:com.facebook.presto.hadoop.TestHadoopNative.java
License:Apache License
@Test public void testNative() { HadoopNative.requireHadoopNative();/*from w ww .j a v a2 s . c o m*/ assertTrue(NativeCodeLoader.isNativeCodeLoaded()); assertTrue(NativeCodeLoader.buildSupportsSnappy()); assertTrue(ZlibFactory.isNativeZlibLoaded(new Configuration())); assertTrue(Bzip2Factory.isNativeBzip2Loaded(new Configuration())); }