org.apache.hadoop.util
Class NativeCodeLoader
java.lang.Object
org.apache.hadoop.util.NativeCodeLoader
public class NativeCodeLoader
- extends Object
A helper to load the native hadoop code i.e. libhadoop.so.
This handles the fallback to either the bundled libhadoop-Linux-i386-32.so
or the the default java implementations where appropriate.
- Author:
- Arun C Murthy
Method Summary |
static boolean |
isNativeCodeLoaded()
Check if native-hadoop code is loaded for this platform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeCodeLoader
public NativeCodeLoader()
isNativeCodeLoaded
public static boolean isNativeCodeLoaded()
- Check if native-hadoop code is loaded for this platform.
- Returns:
true
if native-hadoop is loaded,
else false
Copyright © 2006 The Apache Software Foundation