hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2801) Include the native libs in java.library.path
Date Mon, 12 Sep 2011 21:47:09 GMT

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

Robert Joseph Evans commented on MAPREDUCE-2801:


What do you mean by the native libraries classpath?  I understand the java.library.path and
LD_LIBRARY_PATH for finding the necessary dependencies for the .so files in java.library.path.
 I also understand the classpath for finding java .class files, but I am not sure what is
meant by native libraries classpath.


I believe that "." is already added to "java.library.path" and "LD_LIBRARY_PATH" 

If you look at TestMapReduceChildJVM the first test ensures that LD_LIBRARY_PATH is equal
to nmLdLibraryPath+":"+pwd.  And the Second test ensures that command line contains -Djava.library.path=WORK_DIR:<HADOOP_LIBRARY_PATH>
where WORK_DIR is the working directory to launch the container in. 

> Include the native libs in java.library.path 
> ---------------------------------------------
>                 Key: MAPREDUCE-2801
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2801
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ramya Sunil
>            Assignee: Robert Joseph Evans
>             Fix For: 0.23.0
>         Attachments: MR-2801.patch
> For the child tasks in mrv2, java.library.path is set to just $PWD and the native libs
are not included. Whereas in 0.20.x, java.library.path for child tasks was set to <path
to native libs>:$PWD

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message