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

Specify PositionedReadable, add contract tests, fix problems

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • 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-006.patch
          68 kB
          Steve Loughran
        2. HADOOP-12994-005.patch
          68 kB
          Steve Loughran
        3. HADOOP-12994-004.patch
          68 kB
          Steve Loughran
        4. HADOOP-12994-003.patch
          68 kB
          Steve Loughran
        5. HADOOP-12994-002.patch
          63 kB
          Steve Loughran
        6. HADOOP-12994-001.patch
          62 kB
          Steve Loughran

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: