Perhaps you need to add an entry for 'localhost' in the hosts file on your machine? My linux /etc/hosts has an entry like:

127.0.0.1       localhost

Alternately you could specify '127.0.0.1' as the host instead of 'localhost'. That should work, since 127.0.0.1 always refers to the local machine.

Doug

Philippe Gassmann wrote:


Jagadeesh wrote:
Check out this url

http://lucene.apache.org/hadoop/docs/api/overview-summary.html

That does not solve my issue : when you specify localhost in hadoop-site.xml, hadoop does not bind to localhost but to 0.0.0.0.

In the source tree I can see : new ServerSocket(port) to create a server socket (by default without specifying the bind address, java will bind on 0.0.0.0) or some code like that : address = new InetSocketAddress(port);acceptChannel.socket().bind(address);


--Jugs



Reply via email to