org.apache.hadoop.util
Class NativeCodeLoader

java.lang.Object
  extended by 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

Constructor Summary
NativeCodeLoader()
           
 
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
 

Constructor Detail

NativeCodeLoader

public NativeCodeLoader()
Method Detail

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