[
https://issues.apache.org/jira/browse/HADOOP-16677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xudong Cao updated HADOOP-16677:
--------------------------------
Description: In SocketIOWithTimeout, when a thread was interrupted and exit
from select(), it proceed to throw an InterruptedIOException, in exception
message the remaining timeout mills should be calcuated correctly rather than
simply give a total timeout millis , which could be very misleading. (was: In
SocketIOWithTimeout, when a thread was interrupted and exit from select(), it
proceed to throw an InterruptedIOException, in exception message the remaining
timeout mills should be recalcuated correctly rather than simply give a total
timeout millis , otherwise it could be very misleading.)
> Recalculate the remaining timeout millis correctly while throwing an
> InterupptedException in SocketIOWithTimeout.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-16677
> URL: https://issues.apache.org/jira/browse/HADOOP-16677
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.1.3
> Reporter: Xudong Cao
> Assignee: Xudong Cao
> Priority: Minor
> Labels: pull-request-available
>
> In SocketIOWithTimeout, when a thread was interrupted and exit from select(),
> it proceed to throw an InterruptedIOException, in exception message the
> remaining timeout mills should be calcuated correctly rather than simply give
> a total timeout millis , which could be very misleading.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]