Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0-beta, 0.23.8, 3.0.0-alpha1
-
None
-
None
-
Reviewed
Description
In createSocketForPipeline(), connect() is called with a timeout set to (socket_timeout + read_extension * num_datanodes). Since it is simply connecting to a single node, it does not make sense to increase connection timeout based on the number of datanodes.
DFSInputStream is doing it correctly both in trunk and branch-2.