2013年8月6日星期二

Hadoop startup errors when given as follows. Please considerablyWeapon!

2013-04-13 12:25:47,472 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
/ ********************************************* ***************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = xiaohua-PC/192.168.1.100
STARTUP_MSG: args = []
STARTUP_MSG: version = 0.20.2
STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-r 911707; compiled ; by 'chrisdo' on Fri Feb 19 08:07:34 UTC 2010
********************************************** ************** /
2013-04-13 12:25:47,550 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.net.BindException: Problem binding to localhost/127.0.0.1: 9000: Address already in use: bind
at org.apache.hadoop.ipc.Server.bind (Server.java: 190)
at org.apache.hadoop.ipc.Server $ Listener. (Server.java: 253)
at org.apache.hadoop.ipc.Server. (Server.java: 1026)
at org.apache.hadoop.ipc.RPC $ Server. (RPC.java: 488)
at org.apache.hadoop.ipc.RPC.getServer (RPC.java: 450)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize (NameNode.java: 191)
at org.apache.hadoop.hdfs.server.namenode.NameNode. (NameNode.java: 279)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode (NameNode.java: 956)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main (NameNode.java: 965)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0 (Native Method)
at sun.nio.ch.Net.bind (Net.java: 344)
at sun.nio.ch.Net.bind (Net.java: 336)
at sun.nio.ch.ServerSocketChannelImpl.bind (ServerSocketChannelImpl.java: 199)
at sun.nio.ch.ServerSocketAdaptor.bind (ServerSocketAdaptor.java: 74)
at org.apache.hadoop.ipc.Server.bind (Server.java: 188)
------ Solution ---------------- ----------------------------
9000 port is already occupied by other procedures of the bar.
------ Solution ---------------------------------------- ----
port problems, you can view the next 9000,9001 360 port is occupied by the program, the end of his, you could use other ports to try. However, the default is 9000 and 9001
------ Solution --------------------------------- -----------

------ Solution ------------------------------------- -------

LINUX can be installed on 360 do?
------ For reference only -------------------------------------- -
netstat-an
view that the process of taking up port 9000
kill
may also pull your HADOOP repeat caused
------ For reference only ------------------------ ---------------
netstat-an | grep 9000
See occupy port 9000 in the process, forced to kill and try again next

没有评论:

发表评论