Details
Description
S3PrefetchingInputStream is a bit over aggressive on raising exceptions/downgrading responses after a stream is closed
- MUST: getPos() to return last read location, or a least 0 (maybe we should add this to filesystem spec)
- MUST: getIOStatistics(). critical for collecting stats in processes
- MUST: seekToNewSource() (it's a no op anyway)
- MAY S3AInputStreamStatistics and getStreamStatistics() though that is only in used in testing...ioStatistics have given us a stable stats api. we may want to tag the method @VisibleForTesting to discourage use.
Attachments
Issue Links
- links to