hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-829) hdfsJniHelper.c: #include <error.h> is not portable
Date Sat, 13 Feb 2010 04:23:28 GMT

    [ https://issues.apache.org/jira/browse/HDFS-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833320#action_12833320
] 

Chris Douglas commented on HDFS-829:
------------------------------------

This should ideally be applied to 0.21 and 0.20 also, but HDFS-712 was not committed to 0.21
so libhdfs is still in the MAPREDUCE subproject. While this fix could be applied to the mapreduce
subtree, it would be cleaner if it could be applied in the correct project.

> hdfsJniHelper.c: #include <error.h> is not portable
> ---------------------------------------------------
>
>                 Key: HDFS-829
>                 URL: https://issues.apache.org/jira/browse/HDFS-829
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
>         Attachments: HDFS-632.patch, hdfs-829.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message