2015-05-04 15:13:25,512 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: IOException in offerService
java.io.EOFException: End of File Exception between local host is: "master/192.168.128.128"; destination host is: "master":9000; : java.io.EOFException; For more details see: http://wiki.apache.org/hadoop/EOFException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:764)
at org.apache.hadoop.ipc.Client.call(Client.java:1472)
at org.apache.hadoop.ipc.Client.call(Client.java:1399)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
at com.sun.proxy.$Proxy12.sendHeartbeat(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.sendHeartbeat(DatanodeProtocolClientSideTranslatorPB.java:139)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:582)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:680)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:850)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:1071)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:966)
2015-05-04 15:13:29,520 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.128.128:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2015-05-04 15:13:30,522 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master/192.168.128.128:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2015-05-04 15:13:30,665 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: RECEIVED SIGNAL 15: SIGTERM
2015-05-04 15:13:30,692 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG:
在執行start-all.sh之后的log資訊都沒有出現ERROR,但是執行stop-all.sh就會出現EOFException。
我用的是hadoop2.6.0,可以正常進去50070、8088等等埠,可以用hadoop-examples那個jar包跑pi,可以呼叫mahout0.9的演算法,所以我覺得配置什么的應該沒問題。
之前也看過一些文章,說直接洗掉name、data、tmp檔案夾下面的東西,然后格式化每個節點再啟動,試過了但是并沒有效。
不知道哪位大神可以幫忙解決一下?最好能告訴原因~謝謝!
uj5u.com熱心網友回復:
樓主的問題解決沒有啊,我也遇到了同樣問題轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/77289.html
標籤:網絡
