Class ErasureCodeNative

java.lang.Object
org.apache.hadoop.io.erasurecode.ErasureCodeNative

public final class ErasureCodeNative extends Object
Erasure code native libraries (for now, Intel ISA-L) related utilities.
  • 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

      public static String getLibraryName()
      Get the native library name that's available or supported.
      Returns:
      library name.
    • getLoadingFailureReason

      public static String getLoadingFailureReason()