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

hdfsJniHelper.c: #include <error.h> is not portable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.22.0
    • None
    • None
    • Reviewed

    Description

      hdfsJniHelper.c includes <error.h> but this appears to be unnecessary, since even under Linux none of the routines that are prototyped are used. Worse yet, error.h doesn't appear to be a standard header file so this breaks on Mac OS X and Solaris and prevents libhdfs from being built.

      Attachments

        1. hdfs-829.patch
          0.4 kB
          Eli Collins
        2. HDFS-632.patch
          0.4 kB
          Allen Wittenauer

        Activity

          People

            aw Allen Wittenauer
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: