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

libhdfs should handle 0-length reads from FSInputStream correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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 P. McCabe
        2. HDFS-470.002.patch
          2 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              wyckoff Pete Wyckoff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: