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

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

To clarify a little Mahadev's question  TaskRunner.java (in 0.23) line 392 
calls parseChildJavaOpts.  

parseChildJavaOpts is replaced by lines 348 and 349 in YARNRunner.java
{code}
String[] javaOptsSplit = conf.get(MRJobConfig.MR_AM_COMMAND_OPTS,
    MRJobConfig.DEFAULT_MR_AM_COMMAND_OPTS).split(" ");
{code}

and also the method getChildJavaOpts and lines 223 and 225 in 
MapReduceChildJVM.java
{code}
String javaOpts = getChildJavaOpts(conf, task.isMapTask());
{code}

{code}
String [] javaOptsSplit = javaOpts.split(" ");
{code} 

> 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

        

Reply via email to