[
https://issues.apache.org/jira/browse/HDFS-10508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki updated HDFS-10508:
------------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 2.9.0
Status: Resolved (was: Patch Available)
Committed. Thanks, [~jingzhao].
> DFSInputStream should set thread's interrupt status after catching
> InterruptException from sleep
> ------------------------------------------------------------------------------------------------
>
> Key: HDFS-10508
> URL: https://issues.apache.org/jira/browse/HDFS-10508
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Fix For: 2.9.0
>
> Attachments: HDFS-10508.000.patch
>
>
> HDFS-10468 adds check for
> InterruptIOException/ClosedByInterruptException/InterruptException for the
> on-going read. For the interrupt from the sleep case, we should set the
> thread's interrupt status again so that the {{checkInterrupted}} method
> recognize it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]