[
https://issues.apache.org/jira/browse/HADOOP-12073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578136#comment-14578136
]
Ivan Mitic commented on HADOOP-12073:
-------------------------------------
bq. Since the patch adds the closed flag to implement idempotence of
PageBlobOutputStream#close, do we also need to mark that method synchronized
for thread-safety?
Good catch, thanks Chris. Fixed in the updated patch.
> Azure FileSystem PageBlobInputStream does not return -1 on EOF
> --------------------------------------------------------------
>
> Key: HADOOP-12073
> URL: https://issues.apache.org/jira/browse/HADOOP-12073
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools
> Affects Versions: 3.0.0
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Attachments: HADOOP-12073.2.patch, HADOOP-12073.3.patch,
> HADOOP-12073.patch
>
>
> Azure FileSystem PageBlobInputStream does not return -1 on EOF. This is some
> scenarios causes infinite hands on reading files (e.g. copyToLocal can hang
> forever).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)