Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
TestWebHdfsContentLength runs a simple hand-coded HTTP server in a background thread to simulate some WebHDFS server responses. In some environments (notably Windows), I have observed that the test can hang and fail intermittently. The root cause is that the server fails to fully consume the client's input. This causes a mismatch in the TCP conversation state, and ultimately the client side hangs, then aborts after the 60-second socket timeout.