[
https://issues.apache.org/jira/browse/HADOOP-6221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794470#action_12794470
]
Steve Loughran commented on HADOOP-6221:
----------------------------------------
Incidentally, this patch converts the InterruptedException to an
InterruptedIOException, therefore the signature of the methods do not change,
only their behaviour when interrupted. Programs not interrupting threads that
were trying to connect to an unresponsive remote server will not see any change
in method signature or behaviour.
> RPC.WaitForProxy swallows InterruptedException
> ----------------------------------------------
>
> Key: HADOOP-6221
> URL: https://issues.apache.org/jira/browse/HADOOP-6221
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Attachments: HADOOP-6221.patch
>
>
> RPC.waitForProxy swallows any attempts to interrupt it while waiting for a
> proxy; this makes it hard to shutdown a service that you are starting; you
> have to wait for the timeouts.
> There are only 4-5 places in the code that use either of the two overloaded
> methods, removing the catch and changing the signature should not be too
> painful, unless anyone is using the method outside the hadoop codebase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.