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 "Kiran Kumar M R (JIRA)" <ji...@apache.org> on 2015/04/01 22:24:53 UTC

[jira] [Commented] (HADOOP-11623) Native compilation fails on Solaris due to use of syscall function.

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

Kiran Kumar M R commented on HADOOP-11623:
------------------------------------------

syscall was used in
{{hadoop-common/src/main/native/src/org/apache/hadoop/crypto/random/OpensslSecureRandom.c}}
{{hadoop-common/src/main/native/src/org/apache/hadoop/io/nativeio/NativeIO.c}}

OpensslSecureRandom.c has been fixed in  HADOOP-11638. It has Solaris specific code.
NativeIO.c still has syscall.

Are you referring to these two files?

> Native compilation fails on Solaris due to use of syscall function.
> -------------------------------------------------------------------
>
>                 Key: HADOOP-11623
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11623
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.6.0
>         Environment: Solaris 11.2
>            Reporter: Malcolm Kavalsky
>            Assignee: Malcolm Kavalsky
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Solaris does not provide the syscall function. Currently, hadoop has very limited use of this function ( only 2 files ). These need to be "ifdeffed" with the correct alternatives for Solaris.



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