@Public
| Interface | Description |
|---|---|
| DNSToSwitchMapping |
An interface that must be implemented to allow pluggable
DNS-name/IP-address to RackID resolvers.
|
| DNSToSwitchMappingWithDependency |
An interface that must be implemented to allow pluggable
DNS-name/IP-address to RackID resolvers.
|
| DomainNameResolver |
This interface provides methods for the failover proxy to get IP addresses
of the associated servers (NameNodes, RBF routers etc).
|
| InnerNode | |
| InnerNode.Factory<N extends InnerNode> | |
| Node |
The interface defines a node in a network topology.
|
| Class | Description |
|---|---|
| AbstractDNSToSwitchMapping |
This is a base class for DNS to Switch mappings.
|
| CachedDNSToSwitchMapping |
A cached implementation of DNSToSwitchMapping that takes an
raw DNSToSwitchMapping and stores the resolved network location in
a cache.
|
| DNS |
A class that provides direct and reverse lookup functionalities, allowing
the querying of specific network interfaces or nameservers.
|
| DNSDomainNameResolver |
DNSDomainNameResolver wraps up the default DNS service for forward/reverse
DNS lookup.
|
| DomainNameResolverFactory |
This class creates the DomainNameResolver instance based on the config.
|
| InnerNodeImpl |
InnerNode represents a switch/router of a data center or rack.
|
| InnerNodeImpl.Factory | |
| NetUtils | |
| NetworkTopology |
The class represents a cluster of computer with a tree hierarchical
network topology.
|
| NetworkTopologyWithNodeGroup |
The class extends NetworkTopology to represents a cluster of computer with
a 4-layers hierarchical network topology.
|
| NodeBase |
A base class that implements interface Node
|
| ScriptBasedMapping |
This class implements the
DNSToSwitchMapping interface using a
script configured via the
CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option. |
| ScriptBasedMapping.RawScriptBasedMapping |
This is the uncached script mapping that is fed into the cache managed
by the superclass
CachedDNSToSwitchMapping |
| 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. |
| SocketInputStream |
This implements an input stream that can have a timeout while reading.
|
| SocketInputWrapper |
A wrapper stream around a socket which allows setting of its timeout.
|
| SocketOutputStream |
This implements an output stream that can have a timeout while writing.
|
| SocksSocketFactory |
Specialized SocketFactory to create sockets with a SOCKS proxy
|
| StandardSocketFactory |
Specialized SocketFactory to create sockets with a SOCKS proxy
|
| TableMapping |
Simple
DNSToSwitchMapping implementation that reads a 2 column text
file. |
| Exception | Description |
|---|---|
| ConnectTimeoutException |
Thrown by
NetUtils.connect(java.net.Socket, java.net.SocketAddress, int)
if it times out while connecting to the remote host. |
| NetworkTopology.InvalidTopologyException |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.