[
https://issues.apache.org/jira/browse/HADOOP-12418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965100#comment-14965100
]
Kihwal Lee commented on HADOOP-12418:
-------------------------------------
bq. Would it possible just to intercept InterruptedIOException rather than scan
the string?
{{call()}} can throw either an {{InterruptedIOException}} or
{{InterruptedException}} wrapped in {{IOException}}. The string scan was
originally there for the latter. I could leave it as is and add an explicit
check for {{InterruptedIOException}}, if you think that's cleaner.
> 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
>
> Attachments: HADOOP-12418.patch
>
>
> 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)