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

libhdfs: follow documented return codes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1-alpha
    • 2.0.2-alpha
    • libhdfs
    • None
    • 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.

      Attachments

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

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: