[ 
https://issues.apache.org/jira/browse/HADOOP-13249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321660#comment-15321660
 ] 

zhihai xu commented on HADOOP-13249:
------------------------------------

Thanks for the review, [[email protected]] and [~jingzhao]! Yes, throwing 
InterruptedIOException makes sense to me also. I attached a new patch 
HADOOP-13249.001.patch which use InterruptedIOException instead of IOException, 
Please review it. thanks.

> RetryInvocationHandler need wrap InterruptedException in IOException when 
> call Thread.sleep
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13249
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13249
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.8.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: HADOOP-13249.000.patch, HADOOP-13249.001.patch
>
>
> RetryInvocationHandler need wrap InterruptedException in IOException when 
> call Thread.sleep. Otherwise InterruptedException can't be handled correctly 
> by other components such as HDFS. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to