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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.002.patch
          10 kB
          Colin McCabe
        2. HDFS-6065.001.patch
          7 kB
          Colin McCabe

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: