Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18855 VectorIO API tuning/stabilization
  3. HADOOP-19158

S3A: Support ByteBufferPositionedReadable through vector IO

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • fs, fs/s3

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: