Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
2.3.0, 3.0.0-alpha1
-
None
-
None
Description
This problem was originally mentioned in discussion on HADOOP-8980. When calling RPC#Server#start, initialization of the server's internal Listener and Reader threads happens in the background. This initialization is not guaranteed to complete by the time the caller returns from RPC#Server#start. This may be misleading to a caller that expects the server has been fully initialized. This problem sometimes manifests as a test failure in TestRPC#testStopsAllThreads. This test looks at the stack frames of all running threads, expecting to find the Listener and Reader threads, but sometimes it doesn't find them.
Attachments
Issue Links
- relates to
-
HADOOP-8980 TestRPC and TestSaslRPC fail on Windows
- Open