Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.15.1
-
None
-
None
Description
If a client opens a file and stops reading in the middle, DataNode thread writing the data could be stuck forever. For DataNode sockets we set read timeout but not write timeout. I think we should add a write(data, timeout) method in IOUtils that assumes it the underlying FileChannel is non-blocking.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-2341 Datanode active connections never returns to 0
- Closed