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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/06/12 22:01:05 UTC

[jira] [Commented] (HADOOP-10443) limit symbol visibility in libhdfs-core.so and libyarn-core.so

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

Colin Patrick McCabe commented on HADOOP-10443:
-----------------------------------------------

Implemented this via visibility pragmas in libhdfs.h

> limit symbol visibility in libhdfs-core.so and libyarn-core.so
> --------------------------------------------------------------
>
>                 Key: HADOOP-10443
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10443
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: HADOOP-10388
>
>
> We should avoid exposing all the symbols of libhdfs-core.so and libyarn-core.so.  Otherwise, we they conflict with symbols used in the applications using the libraries.  This can be done with gcc's symbol visibility directives.
> Also, we should probably include libuv and libprotobuf-c statically into our libraries, since most distributions don't yet include these libraries, and we don't want to have version issues there.



--
This message was sent by Atlassian JIRA
(v6.2#6252)