Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
-
Reviewed
Description
Some work on S3a has shown up that there aren't tests catching regressions in readFully, reviewing the documentation shows that its specification could be improved.
- review the spec
- review the implementations
- add tests (proposed: to the seek contract; streams which support seek should support positioned readable)
- fix code, where it differs significantly from HDFS or LocalFS
Attachments
Attachments
Issue Links
- breaks
-
HDFS-10254 DfsClient undervalidates args for PositionedReadable operations
-
- Resolved
-
-
HDFS-10277 PositionedReadable test testReadFullyZeroByteFile failing in HDFS
-
- Resolved
-
-
HDFS-10291 TestShortCircuitLocalRead failing
-
- Resolved
-
- contains
-
HADOOP-12997 s3a to pass PositionedReadable contract tests, improve readFully perf.
-
- Resolved
-
-
HDFS-10254 DfsClient undervalidates args for PositionedReadable operations
-
- Resolved
-
-
HDFS-10255 ByteRangeInputStream.readFully leaks stream handles on failure
-
- Resolved
-
- incorporates
-
HADOOP-12997 s3a to pass PositionedReadable contract tests, improve readFully perf.
-
- Resolved
-
-
HADOOP-12996 remove @InterfaceAudience.LimitedPrivate({"HDFS"}) from FSInputStream
-
- Resolved
-
- is depended upon by
-
HADOOP-12444 Support lazy seek in S3AInputStream
-
- Resolved
-
-
HADOOP-12997 s3a to pass PositionedReadable contract tests, improve readFully perf.
-
- Resolved
-
- is related to
-
HADOOP-13559 Remove close() within try-with-resources in ChecksumFileSystem/ChecksumFs classes
-
- Resolved
-
-
HADOOP-13017 Implementations of InputStream.read(buffer, offset, bytes) to exit 0 if bytes==0
-
- Resolved
-
-
HADOOP-9361 Strictly define the expected behavior of filesystem APIs and write tests to verify compliance
-
- Closed
-