Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12994

Specify PositionedReadable, add contract tests, fix problems

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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.

      1. review the spec
      2. review the implementations
      3. add tests (proposed: to the seek contract; streams which support seek should support positioned readable)
      4. fix code, where it differs significantly from HDFS or LocalFS

        Attachments

        1. HADOOP-12994-001.patch
          62 kB
          Steve Loughran
        2. HADOOP-12994-002.patch
          63 kB
          Steve Loughran
        3. HADOOP-12994-003.patch
          68 kB
          Steve Loughran
        4. HADOOP-12994-004.patch
          68 kB
          Steve Loughran
        5. HADOOP-12994-005.patch
          68 kB
          Steve Loughran
        6. HADOOP-12994-006.patch
          68 kB
          Steve Loughran

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: