[
https://issues.apache.org/jira/browse/HADOOP-12418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963956#comment-14963956
]
Kihwal Lee commented on HADOOP-12418:
-------------------------------------
I think it is affected by HADOOP-12464. After HADOOP-12464, this test case has
occasionally been failing differently.
This is what the test expects:
{noformat}
java.io.IOException: java.lang.InterruptedException
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at
org.apache.hadoop.ipc.Client$Connection.sendRpcRequest(Client.java:1084)
at org.apache.hadoop.ipc.Client.call(Client.java:1433)
at org.apache.hadoop.ipc.Client.call(Client.java:1391)
at
org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:248)
at com.sun.proxy.$Proxy8.ping(Unknown Source)
at
org.apache.hadoop.ipc.TestRPC.testRPCInterruptedSimple(TestRPC.java:885)
{noformat}
After HADOOP-12464, test occasionally fails becuase the call is stopped with a
different exception. This was where interruption used to be ignored, which now
throws after HADOOP-12464. I think when the test hits this, it used to fail as
reported originally since the exception was swallowed.
{noformat}
java.io.InterruptedIOException: Call interrupted
at org.apache.hadoop.ipc.Client.call(Client.java:1448)
at org.apache.hadoop.ipc.Client.call(Client.java:1391)
at
org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:247)
at com.sun.proxy.$Proxy9.ping(Unknown Source)
at
org.apache.hadoop.ipc.TestRPC.testRPCInterruptedSimple(TestRPC.java:885)
{noformat}
I think the original bug is fixed by HADOOP-12464 and now the test case needs
an update.
> failure of TestRPC.testRPCInterruptedSimple on java 8 jenkins
> -------------------------------------------------------------
>
> Key: HADOOP-12418
> URL: https://issues.apache.org/jira/browse/HADOOP-12418
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Environment: Jenkins, Java 8
> Reporter: Steve Loughran
> Assignee: Kihwal Lee
> Fix For: 3.0.0
>
>
> Jenkins trunk + java 8 saw a failure of
> {{TestRPC.testRPCInterruptedSimple}}; the interrupt wasn't picked up. Race in
> test -or a surfacing of a bug in RPC where at some points interrupt
> exceptions are not picked up?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)