Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0, 2.0.0-alpha
-
None
-
Reviewed
Description
Currently, NetUtils.getInputStream will set the timeout on the new stream based on the socket's configured timeout at the time of construction. After that, the timeout cannot be changed. This causes a problem for cases like HDFS-3357. One approach used in some places in the code is to construct new streams when the timeout has to be changed, but this can cause bugs given that the streams are often wrapped by BufferedInputStreams.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-3357 DataXceiver reads from client socket with incorrect/no timeout
- Closed
- relates to
-
HBASE-6396 Fix NoSuchMethodError running against hadoop 2.0
- Closed