hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "SocketTimeout" by SteveLoughran
Date Mon, 30 Dec 2013 12:52:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "SocketTimeout" page has been changed by SteveLoughran:
https://wiki.apache.org/hadoop/SocketTimeout?action=diff&rev1=3&rev2=4

Comment:
your network your problem link

  = Socket Timeouts =
- 
- TCP Socket Timeouts are caused when a TCP socket times out talking to the far end. 
+ TCP Socket Timeouts are caused when a TCP socket times out talking to the far end.
  
  Socket timeouts can occur when attempting to connect to a remote server, or during communication,
especially long-lived ones.
  
  They can be caused by any connectivity problem on the network, such as:
+ 
   * A network partition preventing the two machines from communicating.
   * The remote machine crashing. This cannot easily be distinguished from a network partitioning.
   * A change in the firewall settings of one of the machines preventing communication.
   * The settings are wrong and the client is trying to talk to the wrong machine, one that
is not on the network. That could be an error in Hadoop configuration files, or an entry in
the DNS tables or the /etc/hosts file.
  
+ Comparing this exception to the ConnectionRefused error, the latter indicates there is a
server at the far end, but no program running on it can receive inbound connections on the
chosen port. A Socket Timeout usually means that there is a something there, but it or the
network are not working right
- Comparing this exception to the ConnectionRefused error, the latter indicates there is a
server at the far end, but no program running on it
- can receive inbound connections on the chosen port. A Socket Timeout usually means that
there is a something there, but it or the network are not working right
- 
  
  == Identifying and Fixing Socket Timeouts ==
- 
  The root cause of a Socket Timeout is a connectivity failure between the machines, so try
the usual process
  
   1. Check the settings: is this the machine you really wanted to talk to?
   1. From the machine that is raising the exception, can you resolve the hostname.
-  1. Is that resolved hostname the correct one? 
+  1. Is that resolved hostname the correct one?
   1. Can you ping the remote host?
   1. Is the target machine running the relevant Hadoop processes?
   1. Can you telnet to the target host and port?
   1. Can you telnet to the target host and port from any other machine?
   1. On the target machine, can you telnet to the port using localhost as the hostname. If
this works but external network connections time out, it's usually a firewall issue.
  
- Remember: These are network configuration problems. Only you can fix them, as it is your
network and system configuration that is playing up
+ Remember: These are [[YourNetworkYourProblem|your network configuration problems]] . Only
you can fix them.
  

Mime
View raw message