Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-829

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        Allen Wittenauer created issue -
        Allen Wittenauer made changes -
        Field Original Value New Value
        Attachment HDFS-632.patch [ 12423597 ]
        Allen Wittenauer made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Allen Wittenauer made changes -
        Project Hadoop HDFS [ 12310942 ] Hadoop Map/Reduce [ 12310941 ]
        Key HDFS-632 MAPREDUCE-1164
        Allen Wittenauer made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Allen Wittenauer made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Eli Collins made changes -
        Project Hadoop Map/Reduce [ 12310941 ] Hadoop HDFS [ 12310942 ]
        Key MAPREDUCE-1164 HDFS-829
        Eli Collins made changes -
        Attachment hdfs-829.patch [ 12428015 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Eli Collins made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Eli Collins made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.21.0 [ 12314046 ]
        Affects Version/s 0.22.0 [ 12314241 ]
        Fix Version/s 0.21.0 [ 12314046 ]
        Fix Version/s 0.22.0 [ 12314241 ]
        Tom White made changes -
        Fix Version/s 0.21.0 [ 12314046 ]
        Jakob Homan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Assignee Allen Wittenauer [ aw ]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Allen Wittenauer
            Reporter:
            Allen Wittenauer
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development