Home Forums HDFS Hadoop-1.1.1 Datanode Stop Fails

This topic contains 3 replies, has 4 voices, and was last updated by  tedr 1 year, 4 months ago.

  • Creator
    Topic
  • #21681

    Hi,

    I am using Hadoop-1.1.1, when I start HDFS namenode and datanode startup well.

    While stopping HDFS I got following error in datanode logs:

    2013-04-15 11:20:47,198 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: Call to bhushank/10.0.10.70:54314 failed on local exception: java.io.EOFException
    at org.apache.hadoop.ipc.Client.wrapException(Client.java:1144)
    at org.apache.hadoop.ipc.Client.call(Client.java:1112)
    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
    at sun.proxy.$Proxy5.sendHeartbeat(Unknown Source)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.offerService(DataNode.java:972)
    at org.apache.hadoop.hdfs.server.datanode.DataNode.run(DataNode.java:1527)
    at java.lang.Thread.run(Thread.java:679)
    Caused by: java.io.EOFException
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:841)
    at org.apache.hadoop.ipc.Client$Connection.run(Client.java:786)

    How to resolve it?

    Thanks,
    Bhushan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hadoop-1.1.1 Datanode Stop Fails’ is closed to new replies.

  • Author
    Replies
  • #27002

    tedr
    Moderator

    Hi Deepak,

    The EOFException is usually caused by an attempt to read past the end of the file. This could be because the input file is empty or that you are trying to read more data than is in the stream.

    Thanks,
    Ted.

    Collapse
    #26991

    deepak vohra
    Member

    java.io.EOFException
    at java.io.DataInputStream.readInt

    could be thrown due to one of the following.
    1. The input file contains no data.
    2. DataInputStream is used.

    Does any of the preceding apply?

    Collapse
    #21736

    Larry Liu
    Moderator

    Hi, Bhushan

    This error is not the cause of the failure.

    Can you please help clarify:

    1. Are you trying to stop datanode from UI?
    2. Can you please provide full namenode and datanode log to our ftp server?

    http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you/

    Thanks
    Larry

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)