Package org.apache.hadoop.net
@Public
package org.apache.hadoop.net
Network-related classes.
-
ClassDescriptionThis is a base class for DNS to Switch mappings.A cached implementation of DNSToSwitchMapping that takes an raw DNSToSwitchMapping and stores the resolved network location in a cache.Thrown by
NetUtils.connect(java.net.Socket, java.net.SocketAddress, int)if it times out while connecting to the remote host.org.apache.hadoop.net.DNSA class that provides direct and reverse lookup functionalities, allowing the querying of specific network interfaces or nameservers.org.apache.hadoop.net.DNSDomainNameResolverDNSDomainNameResolver wraps up the default DNS service for forward/reverse DNS lookup.An interface that must be implemented to allow pluggable DNS-name/IP-address to RackID resolvers.org.apache.hadoop.net.DNSToSwitchMappingWithDependencyAn interface that must be implemented to allow pluggable DNS-name/IP-address to RackID resolvers.org.apache.hadoop.net.DomainNameResolverThis interface provides methods for the failover proxy to get IP addresses of the associated servers (NameNodes, RBF routers etc).org.apache.hadoop.net.DomainNameResolverFactoryThis class creates the DomainNameResolver instance based on the config.org.apache.hadoop.net.InnerNodeorg.apache.hadoop.net.InnerNode.Factory<N extends org.apache.hadoop.net.InnerNode>org.apache.hadoop.net.InnerNodeImplInnerNode represents a switch/router of a data center or rack.org.apache.hadoop.net.InnerNodeImpl.Factoryorg.apache.hadoop.net.NetUtilsorg.apache.hadoop.net.NetworkTopologyThe class represents a cluster of computer with a tree hierarchical network topology.org.apache.hadoop.net.NetworkTopology.InvalidTopologyExceptionorg.apache.hadoop.net.NetworkTopologyWithNodeGroupThe class extends NetworkTopology to represents a cluster of computer with a 4-layers hierarchical network topology.org.apache.hadoop.net.NodeThe interface defines a node in a network topology.org.apache.hadoop.net.NodeBaseA base class that implements interface NodeThis class implements theDNSToSwitchMappinginterface using a script configured via theCommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEYoption.org.apache.hadoop.net.ScriptBasedMapping.RawScriptBasedMappingThis is the uncached script mapping that is fed into the cache managed by the superclassCachedDNSToSwitchMappingorg.apache.hadoop.net.ScriptBasedMappingWithDependencyThis class extends ScriptBasedMapping class and implements theDNSToSwitchMappingWithDependencyinterface using a script configured via theCommonConfigurationKeysPublic.NET_DEPENDENCY_SCRIPT_FILE_NAME_KEYoption.org.apache.hadoop.net.SocketInputStreamThis implements an input stream that can have a timeout while reading.org.apache.hadoop.net.SocketInputWrapperA wrapper stream around a socket which allows setting of its timeout.org.apache.hadoop.net.SocketOutputStreamThis implements an output stream that can have a timeout while writing.Specialized SocketFactory to create sockets with a SOCKS proxySpecialized SocketFactory to create sockets with a SOCKS proxySimpleDNSToSwitchMappingimplementation that reads a 2 column text file.