You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Alejandro Abdelnur (Created) (JIRA)" <ji...@apache.org> on 2011/12/01 01:17:40 UTC

[jira] [Created] (HADOOP-7874) native libs should be under lib/native/ dir

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
         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 handling:

* it is using lib/native/${JAVA_PLATFORM} for the java.library.path, when it should use lib/native.
* it is looking for build/lib/native, this is from the old ant build, not applicable anymore.
* 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