You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/03/07 00:58:46 UTC

[jira] [Updated] (HDFS-6065) HDFS zero-copy reads should return null on EOF when doing ZCR

     [ https://issues.apache.org/jira/browse/HDFS-6065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HDFS-6065:
---------------------------------------

    Summary: HDFS zero-copy reads should return null on EOF when doing ZCR  (was: HDFS zero-copy reads should return empty buffer on EOF )

> HDFS zero-copy reads should return null on EOF when doing ZCR
> -------------------------------------------------------------
>
>                 Key: HDFS-6065
>                 URL: https://issues.apache.org/jira/browse/HDFS-6065
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-6065.001.patch, HDFS-6065.002.patch
>
>
> It would be nice if the HDFS zero-copy reads mechanism returned an empty buffer on EOF.  Currently, it throws UnsupportedOperationException on EOF when using zero-copy reads, which seems confusing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)