[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-commits
Subject:    =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22BindException=22_by_SteveLoughra?=
From:       Apache Wiki <wikidiffs () apache ! org>
Date:       2011-06-27 12:09:01
Message-ID: 20110627120901.51463.86841 () eos ! apache ! org
[Download RAW message or body]

Dear Wiki user,

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

The "BindException" page has been changed by SteveLoughran:
http://wiki.apache.org/hadoop/BindException

Comment:
entry on bind exceptions

New page:
= BindException =

You can get a BindException {{{java.net.BindException: Address already in use}}} if a \
socket on a machine is already in use and a service (NameNode, JobTracker, DataNode, \
TaskTracker, HTTP Server, etc.) tries to create a sort on that same port to listen \
for incoming requests.

How to track down the problem
1. identify which port the program is trying to bind to
1. use {{{netstat -a -t --numeric-ports -p}}} to list the ports that are in use by \
number and process. 1. identify the port that is in use and the program that is in \
use 1. try and identify why it is in use. Telnet <port> and pointing a web browser at \
it are both good tricks. 1. change the configuration of one of the programs to listen \
on a different port. 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic