| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.conf | |
| org.apache.hadoop.util |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Configuration.addResource(Configuration conf)
Add a configuration resource.
|
static void |
Configuration.dumpConfiguration(Configuration config,
Writer out)
Writes out all the parameters and their properties (final and resource) to
the given
Writer
The format of the output would be
{ "properties" : [ {key1,value1,key1.isFinal,key1.resource}, {key2,value2,
key2.isFinal,key2.resource}... ] }
It does not output the parameters of the configuration object which is
loaded from an input stream. |
| 构造器和说明 |
|---|
Configuration(Configuration other)
A new configuration with the same settings cloned from another.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
NativeCodeLoader.getLoadNativeLibraries(Configuration conf)
Return if native hadoop libraries, if present, can be used for this job.
|
void |
NativeCodeLoader.setLoadNativeLibraries(Configuration conf,
boolean loadNativeLibraries)
Set if native hadoop libraries, if present, can be used for this job.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.