Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14831 Über-jira: S3a phase IV: Hadoop 3.1 features
  3. HADOOP-14736

S3AInputStream to implement an efficient skip() call through seeking

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fs/s3
    • None

    Description

      S3AInputStream implements skip() naively through the byte class: Reading and discarding all data. Efficient on classic "sequential" reads, provided the forward skip is <1MB. For larger skip values or on random IO, seek() should be used.

      After some range checks/handling past-EOF skips to seek (EOF-1), a seek() should handle the skip file.

      there are no FS contract tests for skip semantics

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: