Description
Currently SnappyCodec is doing:
public static boolean isNativeSnappyLoaded(Configuration conf) { return LoadSnappy.isLoaded() && conf.getBoolean( CommonConfigurationKeys.IO_NATIVE_LIB_AVAILABLE_KEY, CommonConfigurationKeys.IO_NATIVE_LIB_AVAILABLE_DEFAULT); }
But the conf check is wrong as it defaults to true. Instead it should use NativeCodeLoader.isNativeCodeLoaded()