Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3675

libhdfs: follow documented return codes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: libhdfs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      libhdfs should follow its own documentation for return codes. This means always setting errno, and in most cases returning -1 (not some other value) on error.

      1. HDFS-3675.001.patch
        3 kB
        Colin Patrick McCabe
      2. HDFS-3675.002.patch
        3 kB
        Colin Patrick McCabe

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development