[
https://issues.apache.org/jira/browse/HDFS-13875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796641#comment-16796641
]
Ajay Kumar commented on HDFS-13875:
-----------------------------------
[~kpalanisamy] thanks for the patch, stack-trace in description seems to be
from handshake failure. I think its ok to log handshake failure but may be we
can improve the message if handshake fails.
> EOFException log spam in Datanode
> ---------------------------------
>
> Key: HDFS-13875
> URL: https://issues.apache.org/jira/browse/HDFS-13875
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Affects Versions: 3.0.0
> Reporter: Karthik Palanisamy
> Assignee: Karthik Palanisamy
> Priority: Minor
> Attachments: HDFS-13875.001.patch, HDFS-13875.002.patch
>
>
> 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).
> {code:java}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]