Package org.apache.hadoop.net


@Public package org.apache.hadoop.net
Network-related classes.
  • Class
    Description
    This 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.DNS
    A class that provides direct and reverse lookup functionalities, allowing the querying of specific network interfaces or nameservers.
    org.apache.hadoop.net.DNSDomainNameResolver
    DNSDomainNameResolver 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.DNSToSwitchMappingWithDependency
    An interface that must be implemented to allow pluggable DNS-name/IP-address to RackID resolvers.
    org.apache.hadoop.net.DomainNameResolver
    This interface provides methods for the failover proxy to get IP addresses of the associated servers (NameNodes, RBF routers etc).
    org.apache.hadoop.net.DomainNameResolverFactory
    This class creates the DomainNameResolver instance based on the config.
    org.apache.hadoop.net.InnerNode
     
    org.apache.hadoop.net.InnerNode.Factory<N extends org.apache.hadoop.net.InnerNode>
     
    org.apache.hadoop.net.InnerNodeImpl
    InnerNode represents a switch/router of a data center or rack.
    org.apache.hadoop.net.InnerNodeImpl.Factory
     
    org.apache.hadoop.net.NetUtils
     
    org.apache.hadoop.net.NetworkTopology
    The class represents a cluster of computer with a tree hierarchical network topology.
    org.apache.hadoop.net.NetworkTopology.InvalidTopologyException
     
    org.apache.hadoop.net.NetworkTopologyWithNodeGroup
    The class extends NetworkTopology to represents a cluster of computer with a 4-layers hierarchical network topology.
    org.apache.hadoop.net.Node
    The interface defines a node in a network topology.
    org.apache.hadoop.net.NodeBase
    A base class that implements interface Node
    This class implements the DNSToSwitchMapping interface using a script configured via the CommonConfigurationKeysPublic.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY option.
    org.apache.hadoop.net.ScriptBasedMapping.RawScriptBasedMapping
    This is the uncached script mapping that is fed into the cache managed by the superclass CachedDNSToSwitchMapping
    org.apache.hadoop.net.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.
    org.apache.hadoop.net.SocketInputStream
    This implements an input stream that can have a timeout while reading.
    org.apache.hadoop.net.SocketInputWrapper
    A wrapper stream around a socket which allows setting of its timeout.
    org.apache.hadoop.net.SocketOutputStream
    This implements an output stream that can have a timeout while writing.
    Specialized SocketFactory to create sockets with a SOCKS proxy
    Specialized SocketFactory to create sockets with a SOCKS proxy
    Simple DNSToSwitchMapping implementation that reads a 2 column text file.