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

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 2.0.1-alpha [ 12322465 ]
        Fix Version/s 2.2.0-alpha [ 12322472 ]
        Resolution Fixed [ 1 ]
        Eli Collins made changes -
        Hadoop Flags Incompatible change,Reviewed [ 10342, 10343 ]
        Colin Patrick McCabe made changes -
        Attachment HDFS-3675.002.patch [ 12536954 ]
        Colin Patrick McCabe made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Colin Patrick McCabe made changes -
        Field Original Value New Value
        Attachment HDFS-3675.001.patch [ 12536910 ]
        Colin Patrick McCabe created issue -

          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