Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10254

DfsClient undervalidates args for PositionedReadable operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.8.0
    • None
    • hdfs-client
    • None

    Description

      HDFS should can do stricter checking of the inputs

      1. raise an exception on negative offset of destination buffer
      2. explicitly raise an EOF exception if the file position is negative

      Optionally: short-circuit read/readfully operations if the byte range is 0.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: