|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.net.CachedDNSToSwitchMapping
org.apache.hadoop.net.ScriptBasedMapping
public final class ScriptBasedMapping
This class implements the DNSToSwitchMapping interface using a
script configured via topology.script.file.name .
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.net.CachedDNSToSwitchMapping |
|---|
rawMapping |
| Constructor Summary | |
|---|---|
ScriptBasedMapping()
|
|
ScriptBasedMapping(Configuration conf)
|
|
| Method Summary | |
|---|---|
Configuration |
getConf()
Return the configuration used by this object. |
void |
setConf(Configuration conf)
Set the configuration to be used by this object. |
| Methods inherited from class org.apache.hadoop.net.CachedDNSToSwitchMapping |
|---|
resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptBasedMapping()
public ScriptBasedMapping(Configuration conf)
| Method Detail |
|---|
public Configuration getConf()
Configurable
getConf in interface Configurablepublic void setConf(Configuration conf)
Configurable
setConf in interface Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||