public class NativeCodeLoader extends Object
构造器和说明 |
---|
NativeCodeLoader() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
getLoadNativeLibraries(Configuration conf)
Return if native hadoop libraries, if present, can be used for this job.
|
static boolean |
isNativeCodeLoaded()
Check if native-hadoop code is loaded for this platform.
|
void |
setLoadNativeLibraries(Configuration conf,
boolean loadNativeLibraries)
Set if native hadoop libraries, if present, can be used for this job.
|
public static boolean isNativeCodeLoaded()
true
if native-hadoop is loaded,
else false
public boolean getLoadNativeLibraries(Configuration conf)
conf
- configurationtrue
if native hadoop libraries, if present, can be
used for this job; false
otherwise.public void setLoadNativeLibraries(Configuration conf, boolean loadNativeLibraries)
conf
- configurationloadNativeLibraries
- can native hadoop libraries be loadedCopyright © 2009 The Apache Software Foundation