Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-470

libhdfs should handle 0-length reads from FSInputStream correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Activity

          People

          • Assignee:
            Colin Patrick McCabe
            Reporter:
            Pete Wyckoff
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development