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

libhdfs should handle 0-length reads from FSInputStream correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.2-alpha
    • None
    • None
    • Reviewed

    Description

      libhdfs changes Java read semantics to posix semantics. As such, if Hadoop ever returns 0 bytes read, libhdfs should return -1 and set errno = EINTER.

      Attachments

        1. HDFS-470.001.patch
          0.7 kB
          Colin McCabe
        2. HDFS-470.002.patch
          2 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            wyckoff Pete Wyckoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: