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 22:03:09 GMT

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

Robert Joseph Evans commented on MAPREDUCE-2801:
------------------------------------------------

Yes, that code was already in before this patch was added.  I did add that code into YARNRunner.java,
but it was already present in MapReduceChildJVM.java.  The code in MapReduceChildJVM.java
was almost a copy.paste from the code in TaskRunner.java, except the code to add in the java.library.path
from the current TaskTracker JVM was deleted.

If you want me to add in some more tests to verify this I am happy to, but I think the patch
is valid as is.

> 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

        

Mime
View raw message