hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7874) native libs should be under lib/native/ dir
Date Thu, 01 Dec 2011 00:53:41 GMT

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

Alejandro Abdelnur commented on HADOOP-7874:

The ARCH directory was dropped when we the tar layout for common/hdfs was introduced.

While we could easily re-introduce it, IMO it is not the right thing to do for the following

* The ARCH used by is a mix of the OS type (ie linux, mac,) and CPU ARCH (i386,amd64). However,
having the same OS type and CPU arch does not ensure things will work because of native libraries
depedencies required/available  in different OSes (we can restrict ourselves to linux for
practical purposes).

* The build system does not handle building/packaging for different architectures.

* Hadoop release distribution is a source TARBALL, you can easily build it correctly (talking
about nativelibs here) in your target platform.

> native libs should be under lib/native/ dir
> -------------------------------------------
>                 Key: HADOOP-7874
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7874
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.24.0, 0.23.1
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>              Labels: bigtop
>         Attachments: HADOOP-7874.patch
> Currently common and hdfs SO files end up under lib/ dir with all JARs, they should end
up under lib/native.
> In addition, the hadoop-config.sh script needs some cleanup when comes to native lib
> * it is using lib/native/${JAVA_PLATFORM} for the java.library.path, when it should use
> * it is looking for build/lib/native, this is from the old ant build, not applicable
> * it is looking for the libhdfs.a and adding to the java.librar.path, this is not correct.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message