[
https://issues.apache.org/jira/browse/HADOOP-13249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321849#comment-15321849
]
zhihai xu commented on HADOOP-13249:
------------------------------------
If InterruptException is triggered, it will be contained in an
UndeclaredThrowableException because InterruptException is an undeclared
checked exception that is thrown by the invocation handler. Currently
UndeclaredThrowableException is not handled by DFSClient and layer–up.
> 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]