[
https://issues.apache.org/jira/browse/HADOOP-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Chen updated HADOOP-10406:
-------------------------------
Attachment: HADOOP-10406.001.patch
Attached patch 001 fixes the failure locally.
- I studied the patch in the linked JIRA HADOOP-9956 and the change looks great.
- I suspect that sleeping 100 milliseconds in {{TestIPC#checkBlocking}} is not
sufficient for all runs.
- I locally removed the {{Thread#sleep}} calls and the failure reproduces.
- After applying the fix the test passes 100% locally
- The test method {{testIpcWithReaderQueuing}} has a timeout, so that we don't
need to worry about the rare situation where the while loop becomes infinite.
Please review and comment. I'm also including the author [~daryn]. Thanks very
much!
> TestIPC.testIpcWithReaderQueuing may fail
> -----------------------------------------
>
> Key: HADOOP-10406
> URL: https://issues.apache.org/jira/browse/HADOOP-10406
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Reporter: Tsz Wo Nicholas Sze
> Attachments: HADOOP-10406.001.patch
>
>
> The test may fail with AssertionError. The value
> server.getNumOpenConnections() could be larger than maxAccept; see comments
> for more details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)