Hadoop 启动错误汇总:

1:

starting namenode, logging to /usr/local/hadoop/libexec/../logs/hadoop-root-namenode-hadoop.out

localhost: starting datanode, logging to /usr/local/hadoop/libexec/../logs/hadoop-root-datanode-hadoop.out
localhost: starting secondarynamenode, logging to /usr/local/hadoop/libexec/../logs/hadoop-root-secondarynamenode-hadoop.out
localhost: Exception in thread "main" java.io.IOException: Call to hadoop/127.0.0.1:9000 failed on local exception: java.io.IOException: Connection reset by peer
localhost:     at org.apache.hadoop.ipc.Client.wrapException(Client.java:1144)
localhost:     at org.apache.hadoop.ipc.Client.call(Client.java:1112)
localhost:     at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
localhost:     at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
localhost:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)
localhost:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:392)
localhost:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:374)
localhost:     at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:444)
localhost:     at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:335)
starting jobtracker, logging to /usr/local/hadoop/libexec/../logs/hadoop-root-jobtracker-hadoop.out

localhost: starting tasktracker, logging to /usr/local/hadoop/libexec/../logs/hadoop-root-tasktracker-hadoop.out

查看log日志 端口是否被占用!

你可能感兴趣的:(Hadoop 启动错误汇总:)