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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: