hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikant Dindokar <ravikant.i...@gmail.com>
Subject Unable to start namenode : Address already in use
Date Sat, 06 Jun 2015 09:07:31 GMT
Hi user,

I have hadoop with version 2.6.0 on cluster. When I am trying to start dfs
I am getting following error :


2015-06-06 14:35:38,042 INFO org.apache.hadoop.http.HttpServer2:
HttpServer.start() threw a non Bind IOException
java.net.BindException: Port in use: 0.0.0.0:50070
        at
org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:891)
        at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:827)
        at
org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:142)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:703)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:590)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:762)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:746)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1438)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
*Caused by: java.net.BindException: Address already in use*
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:444)
        at sun.nio.ch.Net.bind(Net.java:436)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
        at
org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:886)
        ... 8 more


When I checked for port 50070 using netstat command , I did not see any
program using it :

$ netstat -a |grep 50070
$


Please help!

Thanks
Ravikant

Mime
View raw message