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

ASF GitHub Bot commented on HADOOP-19158:
-----------------------------------------

github-actions[bot] closed pull request #6773: HADOOP-19158. S3A: Support 
ByteBufferPositionedReadable through vector IO
URL: https://github.com/apache/hadoop/pull/6773




> S3A: Support ByteBufferPositionedReadable through vector IO
> -----------------------------------------------------------
>
>                 Key: HADOOP-19158
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19158
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>
> Make it easy for any stream with vector io to support 
> {{ByteBufferPositionedReadable}}
> Specifically, {{ByteBufferPositionedReadable.readFully()}}
> is exactly a single range read so is easy to read.
> the simpler read() call which can return less isn't part of the vector API.
> Proposed: invoke the readFully() but convert an EOFException to -1 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to