[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kanter updated MAPREDUCE-4068:
-------------------------------------

    Attachment: MAPREDUCE-4068.patch

The patch essentially just changes the type of the job jar from FILE to ARCHIVE 
so it will be unpacked and also updates the class path.  It also updates some 
tests.  

This is a separate issue, but the job jar, job.xml, etc are added to the list 
of resources to download in two places (YARNRunner and TaskAttemptImpl); 
because their entries are the same in both places, it only downloads them once, 
but this seems redundant and an easy spot to cause problems later on.  And hard 
to track down :)
                
> Jars in lib subdirectory of the submittable JAR are not added to the classpath
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4068
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4068
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ahmed Radwan
>            Assignee: Robert Kanter
>            Priority: Blocker
>             Fix For: 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4068.patch
>
>
> Prior to hadoop 0.23, users could add third party jars to the lib 
> subdirectory of the submitted job jar and they become available in the task's 
> classpath. I see this functionality was in TaskRunner.java, but I can't see 
> similar functionality in hadoop 0.23 (neither in MapReduceChildJVM.java nor 
> other places).

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

        

Reply via email to