java.io.EOFException: End of File Exception between local host is: "thinkpad/127.0.0.1"; destination
阿新 • • 發佈:2019-01-13
我這個是單機模式的hadoop環境
java.io.EOFException: End of File Exception between
local host is: "thinkpad/127.0.0.1";
destination host is: "localhost":9000;
java.io.EOFException: End of File Exception between local host is: "thinkpad/127.0.0.1"; destination host is: "localhost":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:423) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:801) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:765) at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1493) at org.apache.hadoop.ipc.Client.call(Client.java:1435) at org.apache.hadoop.ipc.Client.call(Client.java:1345) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:227) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116) at com.sun.proxy.$Proxy15.sendHeartbeat(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.sendHeartbeat(DatanodeProtocolClientSideTranslatorPB.java:154) at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:459) at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:581) at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:775) 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$IpcStreams.readResponse(Client.java:1794) at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:1163) at org.apache.hadoop.ipc.Client$Connection.run(Client.java:1059) 2018-12-05 12:42:13,187 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: RECEIVED SIGNAL 15: SIGTERM 2018-12-05 12:42:13,705 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down DataNode at thinkpad/127.0.0.1 ************************************************************/
hadoop-2.8.5/etc/hadoop/
下面的配置檔案不對
把 core.site.xml slaves 等配置檔案中的 localhost 改為ip 127.0.0.1