Steve Loughran created HADOOP-19158:
---------------------------------------
Summary: Support delegating ByteBufferPositionedReadable to vector
reads
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
Make it easy for any stream with vector io to suppor
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]