Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13875

EOFException log spam in Datanode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.0.0
    • None
    • hdfs
    • None
    • Patch

    Description

      Ambari checks datanode liveness by simply connecting to data transfer port. But this connection will be closed after a successful TCP handshake without any data transfer. Due to which datanode encountered EOFExcetion when reading an encrypted message from the closed socket. 

      This issue addressed in HDFS-9572. But not handled for encrypted data transfer(SASL message).

      java.io.EOFException
      at java.io.DataInputStream.readInt(DataInputStream.java:392)
      at org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferServer.doSaslHandshake(SaslDataTransferServer.java:361)
      at org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferServer.getEncryptedStreams(SaslDataTransferServer.java:180)
      at org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferServer.receive(SaslDataTransferServer.java:112)
      at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:194)
      at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. HDFS-13875.001.patch
          0.8 kB
          Karthik Palanisamy
        2. HDFS-13875.002.patch
          0.9 kB
          Karthik Palanisamy

        Issue Links

          Activity

            People

              kpalanisamy Karthik Palanisamy
              kpalanisamy Karthik Palanisamy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: