On Dec 4, 2008, at 6:58 AM, Steve Loughran wrote:
Leeau wrote:
Dear,
I want to config a 4-site hadoop cluster. but failed. Who can help
me to
know why? and how can i start it? thanks.
you need to learn to read stack traces
Ah, the common claim of the Java programmer to the Unix admin.
I believe the correct response is "you need to learn to write readable
logging messages".
:)
Brian
2008-12-04 17:59:11,674 INFO org.apache.hadoop.ipc.Server: Stopping
server
on 9000
2008-12-04 17:59:11,730 ERROR org.apache.hadoop.dfs.NameNode:
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:
391)
at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503)
at org.mortbay.http.SocketListener.start(SocketListener.java:203)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:761)
at org.mortbay.util.Container.start(Container.java:72)
at
org
.apache.hadoop.mapred.StatusHttpServer.start(StatusHttpServer.java:
207)
at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:
335)
at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:846)
at org.apache.hadoop.dfs.NameNode.main(NameNode.java:855)
The port is in use. Something is running there. The netstat program
can track that down for you