hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10406) TestIPC.testIpcWithReaderQueuing may fail
Date Thu, 15 Oct 2015 23:37:05 GMT

     [ 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)

Mime
View raw message