Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
-
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
Attachments
Issue Links
- is related to
-
HDFS-9572 Prevent DataNode log spam if a client connects on the data transfer port but sends no data.
- Resolved