You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam B (JIRA)" <ji...@apache.org> on 2017/01/20 00:59:26 UTC

[jira] [Updated] (MESOS-6683) Return error from recordio::Reader if data is still buffered when EOF reached.

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

Adam B updated MESOS-6683:
--------------------------
    Target Version/s:   (was: 1.2.0)

> Return error from recordio::Reader if data is still buffered when EOF reached.
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-6683
>                 URL: https://issues.apache.org/jira/browse/MESOS-6683
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Kevin Klues
>            Assignee: Anand Mazumdar
>              Labels: bug, mesosphere
>
> Right now, whenever EOF is reached a {{None()}} is returned to indicate that no more records will be read.
> However, we should only return {{None()}} if we reach EOF and there are no bytes in the readers internal data buffer. If there are bytes in the buffer, that indicates that a *partial* record has been read, but EOF was reached before reading a full record. We should return an error in this case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)