2013-08-18 21:21:10,877 FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode join
java.net.BindException: Problem binding to [indigo:8020] java.net.BindException: Cannot assign requested address; For more details see: http://wiki.apache.org/hadoop/BindException
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:718)
at org.apache.hadoop.ipc.Server.bind(Server.java:364)
at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:462)
at org.apache.hadoop.ipc.Server.<init>(Server.java:1841)
at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:970)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:375)
at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:350)
at org.apache.hadoop.ipc.RPC.getServer(RPC.java:695)
at org.apache.hadoop.ipc.RPC.getServer(RPC.java:684)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.<init>(NameNodeRpcServer.java:239)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createRpcServer(NameNode.java:454)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:436)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:610)
at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:591)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1162)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1226)
2013-08-18 21:21:10,879 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2013-08-18 21:21:10,880 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at indigo/192.168.0.161
************************************************************/
hosts 文件
192.168.0.161 indigo localhost
192.168.0.161 ping不通,只有 127.0.0.1 可以
又忘了改HOSTS 文件了。。。。