Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.1, 0.20.2, 0.20-append, 0.21.0
-
None
-
None
-
Reviewed
Description
The offending code is in DFSOutputStream.nextBlockOutputStream
This function retries several times to call createBlockOutputStream. Each time when it fails, it leaves a Socket object in DFSOutputStream.s.
That object is never closed, but overwritten the next time createBlockOutputStream is called.