[
https://issues.apache.org/jira/browse/HDFS-9643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Clampffer updated HDFS-9643:
----------------------------------
Attachment: HDFS-8643.HDFS-8707.004.patch
Thanks for taking another look and catching that cancel call [~bobhansen].
I've changed it to a shutdown() + close(). The docs say calling shutdown first
should keep things more portable.
> libhdfs++: Support async cancellation of read operations
> --------------------------------------------------------
>
> Key: HDFS-9643
> URL: https://issues.apache.org/jira/browse/HDFS-9643
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: James Clampffer
> Attachments: HDFS-8643.HDFS-8707.004.patch,
> HDFS-9643.HDFS-8707.000.patch, HDFS-9643.HDFS-8707.001.patch,
> HDFS-9643.HDFS-8707.002.patch, HDFS-9643.HDFS-8707.003.patch
>
>
> It should be possible for any thread to cancel operations in progress on a
> FileHandle. Any ephemeral objects created by the FileHandle should free
> resources as quickly as possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)