hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13249) RetryInvocationHandler need wrap InterruptedException in IOException when call Thread.sleep
Date Wed, 08 Jun 2016 23:36:21 GMT

    [ 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, [~stevel@apache.org] 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message