HDFS Forum

Hadoop-1.1.1 Datanode Stop Fails

  • #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

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #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

    #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?

    #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.

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

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.