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