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

HDFS zero-copy reads should return null on EOF when doing ZCR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • hdfs-client
    • None
    • Reviewed

    Description

      It would be nice if the HDFS zero-copy reads mechanism returned an empty buffer on EOF. Currently, it throws UnsupportedOperationException on EOF when using zero-copy reads, which seems confusing.

      Attachments

        1. HDFS-6065.001.patch
          7 kB
          Colin McCabe
        2. HDFS-6065.002.patch
          10 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: