[問題] Hadoop執行運算指令不成功

看板Cloud作者 (NoMore)時間14年前 (2010/11/15 01:38), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位前輩們好~ 小弟目前在VMware上設置Ubuntu + Hadoop 按照書上的範例進行~ 目前卡在執行分散式運算~ 原本是預計執行hadoop examples中的wordcount 但卻無法成功, google了java.io.IOException~ 卻沒有相關的解答~ 煩請有經驗的前輩能夠指點一下~ 感謝 如有違反版規~ 本人會立即刪除 內容如下: ------------------------------------------------------------------------------ hadoop@ubuntu:~/hadoop-0.21.0$ bin/hadoop jar hadoop-mapred-examples-0.21.0.jar wordcount input output java.io.IOException: Call to hdp0/192.168.64.130:9001 failed on local exception: java.io.EOFException at org.apache.hadoop.ipc.Client.wrapException(Client.java:775) at org.apache.hadoop.ipc.Client.call(Client.java:743) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) at org.apache.hadoop.mapred.$Proxy0.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) at org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:429) at org.apache.hadoop.mapred.JobClient.init(JobClient.java:423) at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:410) at org.apache.hadoop.mapreduce.Job.<init>(Job.java:50) at org.apache.hadoop.mapreduce.Job.<init>(Job.java:54) at org.apache.hadoop.examples.WordCount.main(WordCount.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:156)Caused by: java.io.EOFException at java.io.DataInputStream.readInt(DataInputStream.java:375) at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:501) at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446) ------------------------------------------------------------------------------ -- kunde -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.122.91.193

11/15 17:12, , 1F
datanode 的運作情形呢? fs -ls 檢查看看
11/15 17:12, 1F

11/17 19:54, , 2F
話說後來莫名的好了~只是datanode只有一開始有抓到
11/17 19:54, 2F
文章代碼(AID): #1Cu1wDf4 (Cloud)
文章代碼(AID): #1Cu1wDf4 (Cloud)