You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/30 00:53:36 UTC

[jira] [Commented] (HADOOP-11403) Avoid using sys_errlist on Solaris, which lacks support for it

    [ https://issues.apache.org/jira/browse/HADOOP-11403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297928#comment-14297928 ] 

Hudson commented on HADOOP-11403:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6967 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6967/])
HADOOP-11403. Avoid using sys_errlist on Solaris, which lacks support for it (Malcolm Kavalsky via Colin P. McCabe) (cmccabe: rev e36ef3b4022a8527cdfa937c4ffc9d46e71cfe28)
* hadoop-common-project/hadoop-common/src/main/native/src/exception.c
* hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/nativeio/NativeIO.c
* hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/hdfs_http_client.c
* hadoop-common-project/hadoop-common/CHANGES.txt


> Avoid using sys_errlist on Solaris, which lacks support for it
> --------------------------------------------------------------
>
>                 Key: HADOOP-11403
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11403
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.5.0
>         Environment: Solaris 11.1 (Sparc, Intel), Linux x86
>            Reporter: Malcolm Kavalsky
>            Assignee: Malcolm Kavalsky
>              Labels: native, newbie, patch, solaris, terror
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11403.001.patch, HADOOP-11403.002.patch, HADOOP-11403.003.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> sys_errlist has been removed from Solaris. The new interface is strerror.  Wherever sys_errlist is accessed we should change to using strerror instead.
> We already have an interface function terror which can contain this functionality, so we should use it instead of directly accessing sys_errlist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)