Package org.apache.hadoop.io.erasurecode
Class ErasureCodeNative
java.lang.Object
org.apache.hadoop.io.erasurecode.ErasureCodeNative
Erasure code native libraries (for now, Intel ISA-L) related utilities.
-
Method Summary
-
Method Details
-
isNativeCodeLoaded
public static boolean isNativeCodeLoaded()Are native libraries loaded?- Returns:
- if is native code loaded true,not false.
-
checkNativeCodeLoaded
public static void checkNativeCodeLoaded()Is the native ISA-L library loaded and initialized? Throw exception if not. -
loadLibrary
public static void loadLibrary()Load native library available or supported. -
getLibraryName
Get the native library name that's available or supported.- Returns:
- library name.
-
getLoadingFailureReason
-