任何人都会帮忙。我是hadoop的新手。我按照这里的所有步骤:http://ebiquity.umbc.edu/Tutorials/Hadoop/00%20-%20Intro.html, 一切顺利,直到设置hadoop插件。在我尝试使用命令启动namenode之后:bin / hadoop namenode。它显示错误如下。
raj@raj-PC ~/hadoop-0.19.1 $ bin/hadoop namenode cygwin warning: MS-DOS style path detected: C:\cygwin\home\raj\HADOOP~1.1\/build/native Preferred POSIX equivalent is: /home/raj/HADOOP~1.1/build/native CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames 13/12/12 13:36:33 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = raj-PC/192.168.2.2 STARTUP_MSG: args = [] STARTUP_MSG: version = 0.19.1 STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.19 -r
745977;由'ndaley'于2009年2月20日星期五00:16:34汇编 的 * ** * ** * ** * ** * ** * ** * ** * ** * ** * ** * *** / 13/12/12 13:36:55错误namenode.NameNode:java.io.IOException:无法建立环回连接 at sun.nio.ch.PipeImpl $ Initializer.run(PipeImpl.java:125) at sun.nio.ch.PipeImpl $ Initializer.run(PipeImpl.java:69) at java.security.AccessController.doPrivileged(Native Method) 在sun.nio.ch.PipeImpl。(PipeImpl.java:141) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) 在java.nio.channels.Pipe.open(Pipe.java:150) at sun.nio.ch.WindowsSelectorImpl。(WindowsSelectorImpl.java:126) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) 在java.nio.channels.Selector.open(Selector.java:227) 在org.apache.hadoop.ipc.Server $ Listener。(Server.java:237) 在org.apache.hadoop.ipc.Server。(Server.java:960) 在org.apache.hadoop.ipc.RPC $ Server。(RPC.java:465) 在org.apache.hadoop.ipc.RPC.getServer(RPC.java:427) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:153) 在org.apache.hadoop.hdfs.server.namenode.NameNode。(NameNode.java:208) 在org.apache.hadoop.hdfs.server.namenode.NameNode。(NameNode.java:194) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868) 引起:java.net.ConnectException:连接超时:连接 在sun.nio.ch.Net.connect0(本机方法) 在sun.nio.ch.Net.connect(Net.java:364) 在sun.nio.ch.Net.connect(Net.java:356) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) 在java.nio.channels.SocketChannel.open(SocketChannel.java:184) at sun.nio.ch.PipeImpl $ Initializer.run(PipeImpl.java:97) ......还有17个
13/12/12 13:36:55 INFO namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at raj-PC/192.168.2.2 ************************************************************/