hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12073) Azure FileSystem PageBlobInputStream does not return -1 on EOF
Date Tue, 09 Jun 2015 00:14:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578113#comment-14578113
] 

Chris Nauroth commented on HADOOP-12073:
----------------------------------------

Hi [~ivanmi].  The patch looks good.  I just have one question.  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?

> 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.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)

Mime
View raw message