You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/09/11 21:36:07 UTC

[jira] [Updated] (MAPREDUCE-4647) We should only unjar jobjar if there is a lib directory in it.

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

Robert Joseph Evans updated MAPREDUCE-4647:
-------------------------------------------

    Attachment: MR-4647.txt

This patch should add in the missing functionality.  I have updated a few unit tests, but I also have tested this manually on a small cluster with security off.  I verified that it is doing what is expected.
                
> We should only unjar jobjar if there is a lib directory in it.
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4647
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4647
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>    Affects Versions: 0.23.3
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: MR-4647.txt
>
>
> For backwards compatibility we recently added made is so we would unjar the job.jar and add anything to the classpath in the lib directory of that jar.  But this also slows job startup down a lot if the jar is large.  We should only unjar it if actually doing so would add something new to the classpath.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira