[
https://issues.apache.org/jira/browse/HDDS-15920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-15920:
----------------------------------
Labels: pull-request-available (was: )
> Fix ByteBuffer positioned read behavior at EOF in OzoneFSInputStream
> --------------------------------------------------------------------
>
> Key: HDDS-15920
> URL: https://issues.apache.org/jira/browse/HDDS-15920
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Chung-En Lee
> Assignee: Chung-En Lee
> Priority: Major
> Labels: pull-request-available
>
> When performing positioned reads at or past the End-Of-File (EOF) using
> OzoneFSInputStream#read(long, ByteBuffer), the stream does not correctly
> return -1 when no bytes can be read. This violates the standard HadoopÂ
> ByteBufferPositionedReadable contract for streams, where a read at EOF should
> return -1 to indicate that no more data is available.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]