| Package | Description |
|---|---|
| org.apache.hadoop.net |
Network-related classes.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
DNSToSwitchMappingWithDependency |
An interface that must be implemented to allow pluggable
DNS-name/IP-address to RackID resolvers.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractDNSToSwitchMapping |
This is a base class for DNS to Switch mappings.
|
class |
CachedDNSToSwitchMapping |
A cached implementation of DNSToSwitchMapping that takes an
raw DNSToSwitchMapping and stores the resolved network location in
a cache.
|
class |
ScriptBasedMapping |
This class implements the
DNSToSwitchMapping interface using a
script configured via the
CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option. |
protected static class |
ScriptBasedMapping.RawScriptBasedMapping |
This is the uncached script mapping that is fed into the cache managed
by the superclass
CachedDNSToSwitchMapping |
class |
ScriptBasedMappingWithDependency |
This class extends ScriptBasedMapping class and implements
the
DNSToSwitchMappingWithDependency interface using
a script configured via the
CommonConfigurationKeysPublic.NET_DEPENDENCY_SCRIPT_FILE_NAME_KEY option. |
class |
TableMapping |
Simple
DNSToSwitchMapping implementation that reads a 2 column text
file. |
| Modifier and Type | Field | Description |
|---|---|---|
protected DNSToSwitchMapping |
CachedDNSToSwitchMapping.rawMapping |
The uncached mapping
|
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
AbstractDNSToSwitchMapping.isMappingSingleSwitch(DNSToSwitchMapping mapping) |
Query for a
DNSToSwitchMapping instance being on a single
switch. |
| Constructor | Description |
|---|---|
CachedDNSToSwitchMapping(DNSToSwitchMapping rawMapping) |
cache a raw DNS mapping
|
ScriptBasedMapping(DNSToSwitchMapping rawMap) |
Create an instance from the given raw mapping
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.